YouTube now defaults to HTML5

移动互联 2015-01-28

Four years ago, we wrote about YouTube’s early support for the HTML5
and how it performed compared to Flash. At the time, there were limitations that held it back from becoming our preferred platform for video delivery. Most critically, HTML5 lacked support for Adaptive Bitrate (ABR) that lets us show you more videos with less buffering.

Over the last four years, we’ve worked with browser vendors and the broader community to close those gaps, and now, YouTube uses HTML5

The benefits of HTML5 extend beyond web browsers, and it's now also used in smart TVs and other streaming devices. Here are a few key technologies that have enabled this critical step forward:

MediaSource Extensions

Adaptive Bitrate (ABR) streaming is critical for providing a quality video experience for viewers - allowing us to quickly and seamlessly adjust resolution and bitrate in the face of changing network conditions. ABR has reduced buffering by more than 50 percent globally and as much as 80 percent on heavily-congested networks. MediaSource Extensions also enable live streaming in game consoles like Xbox and PS4, on devices like Chromecast and in web browsers.

VP9 video codec

HTML5 lets you take advantage of the open VP9 codec, which gives you higher quality video resolution with an average bandwidth reduction of 35 percent. These smaller files allow more people to access 4K and HD at 60FPS -- and videos start 15-80 percent faster. We've already served hundreds of billions of VP9 videos, and you can look for more about VP9 in a future post.

Encrypted Media Extensions
and Common Encryption

In the past, the choice of delivery platform (Flash, Silverlight, etc) and content protection technology (Access, PlayReady) were tightly linked, as content protection was deeply integrated into the delivery platform and even the file format. Encrypted Media Extensions separate the work of content protection from delivery, enabling content providers like YouTube to use a single HTML5 video player across a wide range of platforms. Combined with Common Encryption, we can support multiple content protection technologies on different platforms with a single set of assets, making YouTube play faster and smoother.


YouTube enables everyone to share their videos with the world, whether uploading pre-recorded videos or broadcasting live
. WebRTC allows us to build on the same technology that enables plugin-free Google Hangouts
to provide broadcasting tools from within the browser.


Using the new fullscreen APIs in HTML5, YouTube is able to provide an immersive fullscreen viewing experience (perfect for those 4K videos
), all with standard HTML UI.

Moving to embeds

Given the progress we've made with HTML5

These advancements have benefitted not just YouTube’s community, but the entire industry. 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. By providing an open standard platform, HTML5 has also enabled new classes of devices like Chromebooks and Chromecast. You can support HTML5 by using the API
everywhere you embed YouTube videos on the web.

Richard Leider, Engineering Manager, recently watched, “Ex Hex - Waterfall.”

责编内容by:YouTube Engineering and Developers Blog (源链)。感谢您的支持!


YouTube v12.44 Update Brings Pinch-to-Zoom in Vide... In 2011, we saw the first HD displays with a 16:9 aspect ratio. Since then, 16:...
Is YouTube Right For Your Audience? Infographic Courtesy of:
Periscope expands virtual tipping via Super Hearts... Twitter’s big push to draw in more live video stars to its Periscope streami...
‘Bloggergate’ fiasco leads Dublin hotel to ban blo... An Irish hotel has banned bloggers and other influencers after a 22-year-old You...
基于 HTML5 的工业互联网 3D 可视化应用 工业企业中生产线处于高速运转,由工业设备所产生、采集和处理的数据量远大于企业中计算机和人工产生的数据,生产线的高速运转则对数据的实时性要求也更高。破解这些...