[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: 5.0
Last Updated: 5 months ago
Active Installs: 100,000+
1 of 6 support threads in the last two months have been marked resolved.
Got something to say? Need help?