YouTube today announced it has finally switched from serving videos with Adobe Flash to using its HTML5 video player. The HTML5 video tag is the default option now in Google’s Chrome, Microsoft’s IE11, Apple’s Safari 8, and in beta versions of Mozilla’s Firefox browser.
At the same time, YouTube is now also defaulting to the HTML5 player on the web. In fact, the company is deprecating the “old style” of Flash object embeds and its Flash API, pointing users to the iframe API instead as it can use whichever technology the client supports.
These changes has been a very longtime coming. In January 2010, Google announced a test version of an HTML5 video player. That was five years ago.
A few months later, the company then discussed how YouTube’s HTML5 video performed compared to Flash and improved its embed code, which is how a lot of YouTube videos are distributed. Over the next five years, we didn’t hear much from the company, but a lot of work was being done and there were hints that it was getting ready to make the switch.
In May 2014, I noticed YouTube had switched to the HTML5 player by default on most videos in most browsers (content excluded was mainly from partners like Vevo). I got in touch with YouTube multiple times throughout the year, but the Google-owned company wasn’t yet ready to talk.
Now it has finally flipped the switch, and provided more information about the journey. The company underlines five key technologies that made the change possible:
- MediaSource Extensions: Adaptive Bitrate (ABR) streaming helps provide a quality video experience for viewers as well as enable live streaming on game consoles, streaming sticks, and in browsers. With it, YouTube can quickly and seamlessly adjust resolution and bitrate depending on network conditions. In fact, ABR has reduced buffering by more than 50 percent globally and as much as 80 percent on heavily-congested networks, the company says.
- VP9 video codec: YouTube’s implementation of HTML5 uses the VP9 codec, which Google says gives users higher quality video resolution with an average bandwidth reduction of 35 percent. Smaller files mean more people can access 4K and HD at 60FPS. More importantly, and videos can start anywhere between 15 percent to 80 percent faster.
- Encrypted Media Extensions and Common Encryption: Instead of requiring that the delivery platform is linked to the content protection technology, Encrypted Media Extensions separate the two, letting content providers use a single HTML5 video player across a wide range of platforms. Common Encryption is the icing on the cake since multiple content protection technologies can be supported on different platforms with a single set of assets.
- WebRTC: Web Real-Time Communication (WebRTC) technology is an open project that lets Internet users communicate in real time via voice and video simply by using a compatible browser. In this case, WebRTC lets YouTube provide broadcasting tools from within the browser, no plugins required.
- Fullscreen APIs: The fullscreen APIs in HTML5 mean YouTube can offer an immersive fullscreen viewing experience with a standard HTML interface. Before this became available, a lot of extra code was required for a fairly basic feature.
“These advancements have benefitted not just YouTube’s community, but the entire industry,” YouTube said in a statement. “Other content providers like Netflix and Vimeo, as well as companies like Microsoft and Apple have embraced HTML5 and been key contributors to its success.”
In short, to make HTML5 the default, YouTube had a lot more to consider than just the main use of playing videos. Multiple tech companies and organizations worked together to make this all possible, and to put another nail in Flash’s coffin.
Google’s innovative search technologies connect millions of people around the world with information every day. Founded in 1998 by Stanford Ph.D. students Larry Page and Sergey Brin, Google today is a top web property in all major glob… read more »
YouTube, Inc. is a consumer media company for people to watch and share original videos through a Web experience. It allows people to upload, tag, and share personal video clips; browse original videos uploaded by community members; fi… read more »
Powered by VBProfiles