Home Netflix Dropping MS SilverLight and getting onto the HTML5 bandwaggon

Netflix Dropping MS SilverLight and getting onto the HTML5 bandwaggon

 
Netflix has been “frustratingly” using MicroSofts Silverlight technology to deliver streaming video to web browsers on the PC and Mac. I say frustratingly because that does limit what devices you can actually run the application on and if there is not application for your platform then you can’t use use the devices web browser. Silverlight doesn’t work that way.
Since Microsoft announced end of life of Silverlight 5 in 2021<, there is a need to find a replacement and HTML5 video extensions seems to fit the bill.   Some interesting technical bits: HTML5 Premium Video Extensions:
Over the last year, we’ve been collaborating with other industry leaders on three W3C initiatives which are positioned to solve this problem of playing premium video content directly in the browser without the need for browser plugins such as Silverlight. We call these, collectively, the “HTML5 Premium Video Extensions”
 
Media Source Extensions (MSE)
The W3C Media Source Extensions specification “extends HTMLMediaElement to allow JavaScript to generate media streams for playback.” This makes it possible for Netflix to download audio and video content from our content delivery networks and feed it into the video tag for playback.  Since we can control how to download the audio/video content in our JavaScript code, we can choose the best HTTP server to use for content delivery based on real-time information, and we can implement critical behavior like failing over to alternate servers in the event of an interruption in content delivery.  In addition, this allows us to implement our industry-leading adaptive streaming algorithms (real-time selection of audio/video bitrates based on available bandwidth and other factors) in our JavaScript code.  Perhaps best of all, we can iterate on and improve our content delivery and adaptive streaming algorithms in JavaScript as our business needs change and as we continue to experiment.
 
Encrypted Media Extensions (EME)
The W3C Encrypted Media Extensions specification “extends HTMLMediaElement providing APIs to control playback of protected content.”  The video content we stream to customers is protected with Digital Rights Management (DRM). This is a requirement for any premium subscription video service. The Encrypted Media Extensions allow us to play protected video content in the browser by providing a standardized way for DRM systems to be used with the media element. For example, the specification identifies an encrypted stream format (Common Encryption for the ISO file format, using AES-128 counter mode) and defines how the DRM license challenge/response is handled, both in ways that are independent of any particular DRM. We need to continue to use DRM whether we use a browser plugin or the HTML5 media element, and these extensions make it possible for us to integrate with a variety of DRM systems that may be used by the browser.
 
Web Cryptography API (WebCrypto)
The W3C Web Cryptography API specification defines an API for “basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption.”  This API allows Netflix to encrypt and decrypt communication between our JavaScript and the Netflix servers.  This is required to protect user data from inspection and tampering, and allows us to provide our subscription video service on the web.
 
First Implementation in Chrome OS
We’ve been working with Google to implement support for the HTML5 Premium Video Extensions in the Chrome browser, and we’ve just started using this technology on the Samsung ARM-Based Chromebook. Our player on this Chromebook device uses the Media Source Extensions and Encrypted Media Extensions to adaptively stream protected content.  WebCrypto hasn’t been implemented in Chrome yet, so we’re using a Netflix-developed PPAPI (Pepper Plugin API) plugin which provides these cryptographic operations for now.  We will remove this last remaining browser plugin as soon as WebCrypto is available directly in the Chrome browser.  At that point, we can begin testing our new HTML5 video player on Windows and OS X.
 
Source The Netflix Tech Blog
 

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.