This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

IFRAME Embed For YouTube


IFRAME Embed for YouTube plugin enables you to insert iframe code for a particular YouTube video on your WordPress blog. YouTube has recently released the IFRAME embed code for videos but still that code is not available on YouTube and people are using OBJECT embed code which inserts flash player of YouTube. Those flash player YouTube videos are only visible on browsers having flash plugin installed. IFRAME inserted code for YouTube automatically detect the browser capability and automatically switch between flash and HTML5. So videos embedded thru this plugin will be visible on browsers which are not having flash support (specially mobile device browsers).


  1. Embedded YouTube Videos thru this plugin will be visible on desktop and mobile browser
  2. YouTube videos embedded on your site doesn’t need flash to view
  3. IFRAME embed code automatically switch YouTube player between flash and HTML5
  4. Provide Width and Height for YouTube player only once on settings window of this plugin
  5. No effect on page load time as this plugin doesn’t add any CSS or JS in header section or anywhere

Demo |
Plugin Information


As we have developed this plugin to make your life easier that’s why we have made the process to use this plugin very simple. On Dashboard, you can see “IFRAME Embed for YouTube” tab under Settings section. On settings page of this plugin, you can set the default width and height of the player. You may set value as per your theme template.

To embed IFRAME code of YouTube video on a particular post, open the post to edit. Now you can see a player like icon on the tool bar of Visual format of editor. Once you will click on that red color icon, that will ask you to enter a URL. Copy the URL (link) of the YouTube video which you want to embed in post and paste the URL in quick edit box. Click on “Insert” to get the [yframe] tag with URL in the post. Done, now you can save or publish the post on your blog and you can see YouTube video embedded with the latest player of YouTube (not the old flash player). Now you can see the page source of your publishes post and find the embed code for YouTube video as IFRAME. Repeat this procedure to embed another video on your blog post or page thru IFRAME embed code.

Go to the plugin page to see more details (


  • Settings Page
  • Quicktag button on Post/Page editor to insert the iframe for youtube video
  • Shortcode that can also be used in html editor on the edit post screen to insert the video
  • YouTube video inserted with iframe code


This plugin is easy to install like other plug-ins of WordPress as you need to just follow the below mentioned steps:

  1. Copy Folder ‘iframe-embed-for-youtube’ from the downloaded and extracted file.

  2. Paste it in ‘wp-Content/plugins’ folder on your WordPress Installation

  3. Activate the plugin from Dashboard / Plugins window.

  4. Now Plugin is Activated, Go to the Usage section to see how to use Iframe Embed For YouTube.


Wrong resizing of embedded Youtube on Android devices

The plugin solves existing problems on Android devices with the wrong resizing of embedded Youtube videos. Working with other plugins, the videos were always filling the whole width of the page on the tablet and the mobile, while they appeared as intended in the browsers on the PC and on the notebook. After embedding them with the iframe code, the mobile devices are clear, everything is accurately, even inside of tables, even with individual playlists and all the other well known Youtube features. Many thanks, great work, extremely useful for me. The plugin works perfectly with WP 4.4.2.

Saved my life !

I was spending too much time to put all videos aligned and same space between in one page with other options and normal shortcodes… this plugin saved my life! Great.

Read all 4 reviews

Contributors & Developers

“IFRAME Embed For YouTube” is open source software. The following people have contributed to this plugin.



This is the first release of the plugin, so we would include the change log in the upcoming releases which will contain the new features added to this plugin in the respective versions

Visit the plugin page ( to see the changelog and release notes.