Out of curiosity, I tested the auto-embed feature of WordPress if it still works in YouTube videos, and it still did. Check out the YouTube video below. I didn’t use an IFRAME at all and it still displays just fine.
I just pasted the URL without any embed code. WordPress does all the magic! So If you don’t want to use IFRAME on your blog, then don’t use IFRAMEs. You can manually use the good old Youtube embed code anyway.
So why did Youtube switched it IFRAME? I also wondered why, and I found the answer here. Thanks to Zachary Zawarski writing about it.
Do you love this article and you want to receive more interesting posts from Bryan Veloso? Why not subscribe to this blog via e-mail? It's easy! Just enter your e-mail address below and confirm your subscription by clicking the activation link that will be sent to your e-mail! Get your free subscription now!