YouTube now defaults to HTML5 video

    YouTube now defaults to HTML5 video


    Posted: 28 Jan 2015
    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.

    WebRTC
    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.

    Fullscreen
    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: Brink
    28 Jan 2015



  1. Posts : 1,167
    W10 32 bit, XUbuntu 18.xx 64 bit
       #1

    Just tried it in internet explorer 11, still shows adobe flash not html5.
      My Computer


  2. Posts : 4,566
    Windows 10 Pro
       #2

    groze said:
    Just tried it in internet explorer 11, still shows adobe flash not html5.

    You could try a browser that isn't ancient as the hills with web standards :)

    Hopefully there new "spartan" will be much better.

    Weird though.

    Blog does say ie 11 should work.....Maybe you right clicked when an ad was playing? Maybe the ads are just flash now and video is html5? idk
      My Computer


  3. Posts : 1,167
    W10 32 bit, XUbuntu 18.xx 64 bit
       #3

    https://www.youtube.com/watch?v=kCWKEn7UE-s

    That the link to the video I tested.
      My Computer


  4. Posts : 4,566
    Windows 10 Pro
       #4

    html 5 for me in chrome. And in ie11.

    I do not have flash installed, so that is probably why.
      My Computer


  5. Posts : 1,167
    W10 32 bit, XUbuntu 18.xx 64 bit
       #5

    Here is the fix if it doesn't work when using youtube. I don't know if it will work for unsupported browsers but you can give it a try. https://www.youtube.com/html5 there should be an option to request html5 player.

    Will Html5 video be able stop the badware viruses and spyware, or does it have the same security issue as adobe flash?
      My Computer


  6. Posts : 640
    Microsoft Windows 7 Home Premium SP1 64-bit Build 7600
       #6

    Finally!!!, Flash is slow as hell, you cannot even see 60 fps videos without lag, even on a decent computer.
    This last year is the year of HTML5, seems faster and more reliable than in previous times...
      My Computer


  7. Posts : 4,566
    Windows 10 Pro
       #7

    groze said:
    Here is the fix if it doesn't work when using youtube. I don't know if it will work for unsupported browsers but you can give it a try. https://www.youtube.com/html5 there should be an option to request html5 player.

    Will Html5 video be able stop the badware viruses and spyware, or does it have the same security issue as adobe flash?
    html5 will bring new threats, as it is not designed with security in mind.

    But for now, at least plugins are starting to finally die. They are almost never updated on peoples pcs, and makes them more vulnerable.
      My Computer


 

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

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