Dajbych.net


Adaptive video streaming support in Internet Explorer 11

, 2 minutes to read

ie9 logo

Video and its streaming, especially adaptive, is the domain of browser add-ons such as Microsoft Silverlight or Adobe Flash Player on the web. However, browser add-ons have a major disadvantage in that they may not target the same range of platforms as the browser and have their own update policy. They are unpleasant for developers because they have to use a different language to target them and often other development tools. Internet Explorer 11 supports adaptive encrypted video streaming implemented by JavaScript.

Digital Rights Management

Internet Explorer supports video playback since version 9, which supports the video tag. However, this was not enough for industry. The abbreviation DRM thus reassures mainly people who are not familiar with the screen video recording tools used by every other computer gamer. In practice, DRM means encrypting the stream on the server and decrypting it in the browser. The original quality of the video cannot be captured, but the hunt for its highest possible quality means in practice that one extra encoding is not visible to the human eye. Data transmission over SSL, or over Wi-Fi, Edge or 3G is encrypted anyway. When you secure something, always try to realize exactly what you are securing and what you are not. However, Internet Explorer supports Encrypted Media Extensions and Web Crypto standards, which are fully available to you at the cost of your user draining the battery of their device sooner. It will allow you to adapt the browser to your DRM with Content Decription Module. Internet Explorer already has PlayReady DRM support.

Adaptive streaming

A nice change is the support for adaptive streaming. Recall that this is an automatic change in the quality of the video being played, depending on the current network throughput. Internet Explorer implements the MPEG-DASH standard, which unifies the format of streaming on the web. The viability of this standard is underlined by the fact that Netflix uses it to provide its content. Media Source Extensions allows you to set the source of the video tag buffer instead of a file.

Web Video Text Tracks

The video can be easily accompanied by subtitles. Internet Explorer has supported Timed Text Markup Language (TTML) and Web Video Text Tracks (WebVTT) since version 10. The latter is based on the SubRip format (uses the suffix track1) and allows subtitles to be placed anywhere in the image, to write out some words in italics or in color. Captions are inserted by inserting the §1 element into the video element. It is possible to insert several of them, each for a specific language. The subtitle file must be sent with the header text/vtt.