OpenTV Player SDK for Browsers

To support video playback, Chrome, MS Edge, Firefox and Safari have added the following APIs to the HTMLMediaElement:

  • Media Source Extensions (MSE) A JavaScript application is used to manage the media streams displayed by the HTML5 <video> element. This enables the player to support adaptive streaming to optimise users' available bandwidth and device capabilities. It also provides support for fragmented MP4, which means fewer different encodings are required, reducing CDN costs.

  • Encrypted Media Extensions (EME) These enable the HTML5 <video> element to play DRM-protected content via a JavaScript application that manages licence and key exchange. Licence and key management is carried out by the application, allowing the OpenTV Player to integrate with multiple DRM schemes appropriate to the platform, as shown in the table below.

DASH and HLS support

DASH is supported with Microsoft PlayReady and Widevine DRM, and HLS with Apple FairPlay Streaming when integrated with the Security Services Platform (SSP) or the Conax Contego security management system.

The common solution across all the supported browsers and platforms is provided via the DASH Industry Forum dash.js package which is extended to facilitate seamless SSP and Conax Contego integration, and using the browser HTML MSE and EME specifications for descrambling and rendering.

Platform Streaming format OS supported Encryption method DRM
Edge (legacy) DASH Windows cenc PlayReady
Edge (chromium) DASH Windows cenc Widevine
Chrome DASH Windows/Mac cenc Widevine
Firefox DASH Windows/Mac cenc Widevine
Safari HLS Mac SAMPLE-AES FairPlay

The OpenTV Player SDK for Browsers also provides the additional benefit that end-users do not have to download and install any plugins or extensions. A common player control bar provides standard control bar features, as well as thumbnail preview on seek and the ability to easily re-skin to match customer branding. Support is also provided for:

  • NAGRA Insight analytics
  • Client-side dynamic ad insertion
  • Standard WebVTT and MP4 encapsulated subtitling with TTML (IMSC1)

This section contains the following guides:

For details of OTV Player PPAPI extension for browsers, see PPAPI/NaCl browser extension.