vimeo/youtube video embed with thumbnails

If you embed a vimeo video at that size it hides the playback buttons, no magic involved. EDIT- to display a static thumb of a youtube video: your video url: http://www.youtube.com/watch?v=WQO-aOdJLiw take the v= portion of the url to get the large thumb url: http://img.youtube.com/vi/WQO-aOdJLiw/0.jpg and the small thumb url: http://img.youtube.com/vi/WQO-aOdJLiw/1.jpg

Vimeo video embeds doesnt seem to work with ACF [closed]

If the custom field contains just the URL you can achieve this using wp_oembed_get $video_url=”https://vimeo.com/75791532″; $video = wp_oembed_get( $video_url ); echo $video; If the custom field contains other content as well something like this should work. $content=”<p>Check out hte latest vid!</p> https://vimeo.com/75791532″; $content = apply_filters(‘the_content’, $content); echo $content; the_content filter automatically applies the oembed filter.

Audio Playlists – Multiple file type support?

No, it’s not supported currently in the core playlist as I understand it. The following are just some rough ideas: Within the WPPlaylistView.playCurrentSrc() method, in the wp-playlist.js file, we have: this.mejs.setSrc( this.playerNode.attr( ‘src’ ) ); This is currently only for a single source. I checked the definition of srcSet() in MediaElment.js and found: // This … Read more

How to create a static player top or bottom of wordpress?

Child theme for TwentyEleven: create the child theme folder, twentyhalf create a style.css file with the content: /* Theme Name: Framed Audio Theme URI: http://wordpress.stackexchange.com/questions/69624 Version: 1.0 Description: Index page with framed content – one frame points to a parent page with the slug of ‘sample-page’ and the other for a folder at the root … Read more

Youtube parameters within WordPress embed code?

It doesn’t look like load policies are configurable with WP’s auto-embed. But see the docs on how to use WP’s embedding: http://codex.wordpress.org/Embeds And see the Developer Resources and API at WP: http://developer.wordpress.com/docs/oembed-provider-api/ WP’s auto-embedding uses oEmbed, and the specs and API are here: http://oembed.com/

Removing WordPress Icon from oembed link footer

Here’s the code to remove the site icon markup from embeds: add_filter(‘get_site_icon_url’,’__return_false’, 10, 3); If you want to remove the entire site-icon + site-title then use this: add_filter(’embed_site_title_html’,’__return_false’); The right thing to do though would be to upload your own site-icon in the WordPress customizer and show-off your branding. Min image size it needs is … Read more

ted talks embed fixed, but can’t control size

You can control the size of the embedded TED video by using the shortcode: [ted id=”1650″ width=”300″ height=”200″] If you want to have it predefined, you can use: if(!isset($atts[‘width’])){ $atts[‘width’]=600; // Default width } if(!isset($atts[‘height’])){ $atts[‘height’]=400; // Default height } so the code here will be: // Whitelist the TEDTalks oEmbed URL wp_oembed_add_provider( ‘http://www.ted.com/talks/*’, ‘http://www.ted.com/talks/oembed.json’ … Read more

Is it possible to modify the default YouTube embed attributes string?

There is a filter with the same name as the function wp_embed_handler_youtube https://developer.wordpress.org/reference/hooks/wp_embed_handler_youtube/ add_filter(‘wp_embed_handler_youtube’, ‘ehy_callback’, 10, 4); function ehy_callback($embed, $attr, $url, $rawattr){ //make necessary changes here return $embed; } You can add the code in functions.php of your child theme.