Sure, HTML5 adds support for Web video that doesn't need Flash. But there are many reasons Adobe's plug-in still is necessary, YouTube says.
Stephen Shanklandprincipal writer
Stephen Shankland has been a reporter at CNET since 1998 and writes about processors, digital photography, AI, quantum computing, computer science, materials science, supercomputers, drones, browsers, 3D printing, USB, and new computing technology in general. He has a soft spot in his heart for standards groups and I/O interfaces. His first big scoop was about radioactive cat poop.
Expertiseprocessors, semiconductors, web browsers, quantum computing, supercomputers, AI, 3D printing, drones, computer science, physics, programming, materials science, USB, UWB, Android, digital photography, scienceCredentials
I've been covering the technology industry for 24 years and was a science writer for five years before that. I've got deep expertise in microprocessors, digital photography, computer hardware and software, internet standards, web technology, and other dee
Google is among the biggest proponents of a collection of Web technologies that reproduce many important features of Adobe Systems' Flash, but it's not yet time for regime change at YouTube.
One of the most important parts of the upcoming HTML5 standard is support for video that can be built directly into Web page without requiring a plug-in such as Flash Player. Other open standards such as Cascading Style Sheets (CSS) for formatting, Scalable Vector Graphics (SVG), and Web Open Font Format (WOFF) for typography can mimic Flash features, but Flash's ability to deliver streaming video to multiple browsers is one of the main reasons it's got such a strong incumbent advantage.
"While HTML5's video support enables us to bring most of the content and features of YouTube to computers and other devices that don't support Flash Player, it does not yet meet all of our needs," said YouTube programmer John Harding in a blog post Tuesday. "Today, Adobe Flash provides the best platform for YouTube's video distribution requirements, which is why our primary video player is built with it."
But it's not all about politics: in YouTube's case, there are real technical reasons for keeping Flash front and center.
What, exactly, is holding HTML5 video back?
At the top of Harding's list is that browser makers haven't settled on a uniform video encoding technology, or codec, for HTML5. Safari, Chrome, and the the IE9 Platform Preview support a codec called H.264, while Mozilla, Opera, and Chrome are getting support for Google's new royalty-free WebM codec. "We need all browsers to support a standard video format," Harding said.
WebM has a chance to become that format.
"We are looking for a royalty-free video format for HTML5. WebM seems a good candidate," said Philippe Le Hegaret, who leads work for Web standards including HTML5, CSS, and SVG for the World Wide Web Consortium, in an interview last week. But asked if it's likely to become that standard, given the backing of Mozilla and Google, he said, "If we have agreement from all the parties, yes, but there is more than just Mozilla and Google at the moment."
Playback issues are one problem, but Google has already decided to pay for dual codec support for its own infrastructure. Since 2007, the company stored all videos in the H.264 format, but starting on May 19, when Google announced WebM, the company started storing all high-definition videos with 720p resolution or better with WebM as well. Considering that 24 hours of video are uploaded to YouTube every minute and that the use of high-definition video is growing, that's got to be a big investment.
Video format compatibility is the first on Harding's list, but there are others, too:
• YouTube needs sophisticated controls that let a browser load not just a video page, but a specific time through a video. Also required are controls over buffering--the video data that's sent in advance to a computer to avoid unpleasant pauses in playback--and features for live video and automated adjustments to video quality. HTML5 video lacks all of these, though Google is supporting work to build them in.
• Flash has digital rights management that's necessary for showing "secure" video streams, Harding said. Specifically, Google uses Adobe's RTMPE (Real-Time Messaging Protocol, encrypted) protocol for the YouTube video rental program.
• Embedding YouTube videos on sites besides YouTube isn't possible with HTML5 today while meeting Google's needs to preserve elements such as captions and advertising. In additon, Harding said, "Flash is the only mechanism most Web sites allow for embedded content from other sites."
• HTML5 doesn't support full-screen video yet. There's work under way, but it can't yet match Flash's ability to show things like playback controls on top.
• Flash is required for supporting Webcams and microphones for those recording video from their computers. Again, there's Webcam work under way with HTML, but it's not done yet today much less supported in browsers.
Google has its principles, but the company's strong pragmatic streak is evident at YouTube. Here's an interesting question to ponder: If Apple decides to turn iTunes into some Web-based service for streaming audio and video, will it come to the same conclusions about Flash's necessity?