CSShunt is the most frequent updated css inspiration gallery and logo inspiration gallery.which shows best css websites,logo inspirations,More of that it acts as a portal, so, besides a link to your website we post your description, keywords and title. you can submit your best website (and we encourage that), we verify it and post it in less than 24 hours. csshunt have more different section about some other inspirations as Graphic Design gallery, Designer's Inspiration work with some other cool stuff like freebies ,Web design and development related Articles,Web Design and Web Development Resources.so checkout our updated css inspiration gallery,logo inspiration gallery daily and don't forget to left your suggestions.

Embed YouTube Videos in both Flash and HTML5

 |  Comment (0)

YouTube, by default, offers a Flash-based video player for embedding videos in other web pages. Since most desktop based web browsers have the Adobe Flash Player plug-in, your embedded YouTube videos will play without issues.

The scene is however a bit a different when it comes to mobile web browsers. Most of them don’t support Flash videos but the modern ones do understand HTML5 video that is embedded using the new element.

youtube-embed1

Embed YouTube Videos in an IFRAME

If people are reading your content on both mobile and desktop browsers, an ideal solution therefore would be that you embed both the Flash version and the HTML5 version of a same YouTube video in your pages. Mobile users can then play the HTML5 video while the Flash video player will be visible only on desktops.

The good news is that new IFRAME based embed code from YouTube can easily handle this switching between Flash and HTML5 based players on its own.

youtube-embed

youtube-code

While all YouTube videos support IFRAME based embedding, you still have to write the embed code manually. Once the preview period is over, YouTube will make the IFRAME style a default for embedding YouTube videos since it offers you best of both HTML5 and Flash worlds.

Posted on Thursday, October 14th, 2010 at 5:31 am | Category: Articles | Tags:

Leave a Reply

You must be logged in to post a comment.

Web Design Blogs
webdesign blog