The Promise of HTML5 Video
The new HTML5 video and audio code tags hold out a lot of promise. They are:
<video> [<video src="something.m4v"></video>] and
<audio> [<audio src="something.mp3"></audio>]
These new tags are likely going to be the defacto standard for video and audio transmission over the web in the future if the current snags with the technology are worked out. Only time will tell. But, since this is a blog dedicated to new advances in programming – we should devote some time to the current pros and cons of this technology.
So here are the pros: a) videos can stream over an iPhone and iPod touch b) a browser no longer has to have a plugin like Flash installed to view web video c) there is no more pesky object and embed code to write or have generated by Flash on an HTML page.
And now here are the cons: a) one of the major cons is lack of support for HTML5 video on older browsers such as IE8 which are still in wide use today b) in current HTML5 video you cannot expand to ‘Full Screen” mode because it doesn’t exist c) in current HTML5 video you cannot advance forward in the timeline – the video simply starts and ends.
The way Flash video is displayed and streamed is how the current paradigm of web video is thought to be. If HTML5 video cannot come up to the current paradigm of web video than it will have a hard time being adopted on a wide scale.
There are also some snags with the video codecs offered for HTML5: H.264, Theora, VP8. Theora is likely to be discontinued because of lack of support, H.264 requires content producers to pay a royalty to encode videos, and Google’s VP8 which is royalty free is likely to become the standard of the future but currently is ill-supported on just about every browser.
Currently, the codec most used everywhere to transmit HTML5 video is the H.264 codec. Youtube transmits its videos in the H.264 codec so it could play videos on the iPhone. But, in time, I believe Google’s VP8 will become more popular.