[iframe src="http://www.youtube.com/embed/4qsGTXLnmKs" width="100%" height="500"] shortcode
[iframe src="http://www.youtube.com/embed/4qsGTXLnmKs" width="100%" height="500"] shortcode should show something like this:
WordPress removes iframe html tags because of security reasons. Iframe shortcode is the replacement of the iframe html tag and accepts the same params as iframe html tag does. You may use iframe shortcode to embed content from YouTube, Vimeo, Google Maps or from any external page.
If you need to embed content from YouTube, Vimeo, SlideShare, SoundCloud, Twitter via direct link, you may use
[embed] shortcode is a core WordPress feature and can embed content from many resources via direct link.
Requires: 3.0 or higher
Compatible up to: 4.5
Last Updated: 2015-8-17
Active Installs: 100,000+
2 of 4 support threads in the last two months have been resolved.
Got something to say? Need help?