YouTube Changes Embed Code to HTML5-friendly iFrames

By HTMLGoodies Staff

In a move that is likely to appeal to users of iPhones and iPads, YouTube has changed the way videos are able to be embedded in websites. The old code used Object tags, and the new tag uses HTML5-friendly iframes.

Previously YouTube allowed users the choice of using Flash code or HTML5-friendly iFrame code. The new version, however, makes that choice for them, and defaults to the iFrame version. Although the appearance of the video will remain the same, the changes will likely have an effect on SEO.

When the iFrame is rendered in the browser, it displays the newer YouTube player (version 3), which features additional functionality. Along with this new functionality, the option for changing border colors has been removed.

View Full Article

Make a Comment

Loading Comments...

  • Web Development Newsletter Signup

    Invalid email
    You have successfuly registered to our newsletter.
Thanks for your registration, follow us on our social networks to keep up-to-date