Change to accommodate HTML 5 requires IFRAME Embed for YouTube plugin
If you are embedding YouTube videos the switch to iFrames by YouTube may have you scratching your head.
On my WordPress sites, the videos would disappear after posting.
The cause was the switch by Google to iFrames, not my favorite way to embed. However, it gives Google a way to read the browser and send the appropriate video.
The fix is a free plugin for WordPress IFRAME Embed for YouTube.
Search for the exact plug-in from the WordPress …Dashboard…Plugins…Install Plugins. It works on WordPress 3.0.4.
There are a few parameters to set up such as the width and height of the video in your posts.
A red right facing arrow will show up in the Post Edit window. Click the icon and paste in the YouTube html link.
Try it. It works for me.
For more details, check out IFRAME Embed for YouTube – Free WordPress Plugin
web-developer
WordPress removes iframe when you switch from “HTML” to “Visual” tab in your editor because of the security reasons.
You can use oEmbed shortcode to insert video: [embed width="500" height="400"]http://www.youtube.com/watch?v=wQL34ZiCNVA[/embed]
Or you can use this plugin to insert iframe into post content using such shortcode: [iframe width=”640″ height=”480″ src=”http://player.vimeo.com/video/3261363″]