Wednesday, June 10, 2009

Flash no more indispensable for playing videos online

With Google putting all its energy in promoting HTML5 and FireFox 3.5 playing open source video formats like  Ogg Vorbis and Theora without flash player, it is evident that Flash is no more indispensable for playing videos online.


HTML 5 provides a number of new elements and attributes that reflect typical usage on modern Web sites. Some of them are semantic replacements for common uses of generic block (<div>) and inline (<span>) elements, for example <nav>(website navigation block) and <footer>. Other elements provide new functionality through a standardized interface, such as the <audio> and <video> elements.


As a HTML developer you will be able to use video tag similar to <source src="video.mp4" type="video/mp4; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;"> Video tag has attributes like autoplay, play, pause, seeking etc. Read more about HTML5 and video tag at W3C.

Days are not far when you will be able to perform right click actions similar to images like save video as or copy video link. Download Mozilla FireFox 3.5 here and then open following links to see things in action, after all seeing is believing. Not sure about YouTube and DailyMotion demo but FireFox demo will definitely play. 
http://people.mozilla.com/~prouget/demos/DynamicContentInjection/play.xhtml
http://blog.dailymotion.com/2009/05/27/watch-videowithout-flash/
http://www.youtube.com/html5

0 comments:

Post a Comment