YouTube now defaults to HTML5 video

Page 1 of 2 12 LastLast
    YouTube now defaults to HTML5 video

    YouTube now defaults to HTML5 video

    Four years ago, we wrote about YouTube’s early support for the HTML5 <video> tag 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 <video> by default in Chrome, IE 11, Safari 8 and in beta versions of Firefox.

    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 <iframe> embeds
    Given the progress we've made with HTML5 <video>, we’re now defaulting to the HTML5 player on the web. We're also deprecating the "old style" of Flash <object> embeds and our Flash API. We encourage all embedders to use the <iframe> API, which can intelligently use whichever technology the client supports.

    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 <iframe> API everywhere you embed YouTube videos on the web.

    Richard Leider, Engineering Manager
    Source: YouTube Engineering and Developers Blog: YouTube now defaults to HTML5 <video>
    Brink's Avatar Posted By:

  1. BunnyJ's Avatar
    Posts : 22,741
    Windows 10 Home x64

    Good news...Flash is just too buggy.
      My Computer

  2. ThrashZone's Avatar
    Posts : 7,596
    3-Win-7Prox64 3-Win10Prox64 3-LinuxMint20.2

    About freaking time
    Without flash installed or simply disabled F5 would often need to be used
      My Computers

  3. Fahadking07's Avatar
    Posts : 242
    Windows 7, 8.1, 10 | Linux

    Wow, Awesome!!
      My Computer

  4. rvbfan's Avatar
    Posts : 8,578
    Windows 10 Home x64 Windows 10 Prox64

    About time. More sites need to follow. Flashes time is pretty much done.
      My Computer

  5. TairikuOkami's Avatar
    Posts : 4,973
    Windows 11 Home

    Lucky there are still ways to go around it. I use an extensions for youtube, which forces flash, since HTML5 is too heavy and lags too much Some people even run out of memory when playing 1hour+ long videos.
      My Computer

  6. Posts : 1,557
    W10 32 bit, XUbuntu 18.xx 64 bit

    Here is the fix if html5 doesn't work when using youtube. I don't know if it will work for unsupported browsers but you can give it a try. There should be an option to request html5 player.
      My Computer

  7. VBs
    Posts : 83
    Windows 10 x64 Insider

    Still use flash as HTML5 has way too many problems.. people can preach how unsecure flash is but there is still no worthy replacement at least for YouTube. I haven't tried HTML5 player recently because I use workaround to force flash, but is monitor still going to sleep when longer video is playing (I keep my pc always on so I set up my monitor to turn of after ~20min of inactivity) because HTML5 player somehow doesn't report activity as for example flash does.
    HTML5 videos had many quality problems with more system load.
    Has all these above problems been resolved?

    Just tested monitor still goes to sleep while playing YouTube video in HTML5 but its ok in Flash.
    Last edited by VBs; 29 Jan 2015 at 01:55.
      My Computer

  8. Posts : 1,557
    W10 32 bit, XUbuntu 18.xx 64 bit

    You need increase you monitor sleep time in power management, me I choose 5 hours because I use the computer a lot. On the same page I linked to in my previous post, you can also turn off html5 in youtube for now.
      My Computer

  9. VBs
    Posts : 83
    Windows 10 x64 Insider

    groze said:
    You need increase you monitor sleep time in power management, me I choose 5 hours because I use the computer a lot. On the same page I linked to in my previous post, you can also turn off html5 in youtube for now.
    5 hours is way to long. for example I use pc in evening and then go to sleep that means monitor will be on almost all night. Its really annoying especially if pc is in same room. I have to move mouse or press something from time to time when watching YouTube, this is crazy I want to keep flash player.
      My Computer

Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:26.
Find Us

Windows 10 Forums