WordPress: Custom has_embed function
Taken from the great t31os! Recently someone on the WordPress forums asked if there was an easy way to determine if a post has any content embedded and if so, a link could be provided to indicate the visitor should click it to see the full post where the embedded content is available. The well Full Article…
Modify Youtube Oembed URLs
Expanded from here. There are different methods for modifying Youtube’s iframe url to get the look and feel you want for your embedded youtube video. WordPress offers Oembed functionality which makes it easy for WordPress users to input youtube urls into metaboxes, content, etc. What is not as straight forward is altering the appearance that Full Article…
Resolve an issue when multiple oEmbed videos become the same
See the issue documented on this page where two different YouTube oEmbeds on the same page display the same video after someone has viewed the page, browsed to another page and then used the back button to return to the page with multiple video oEmbeds. Here’s my own assessment of the issue and my fix. The issue Full Article…
WordPress oEmbeds for TED videos
Add the following to your theme’s functions.php file Now, you can embed TEDTalks two ways: [ted id=981] or http://www.ted.com/talks/ze_frank_s_web_playroom.html