Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Streaming encrypted copyright content (audio/video) with HTML5

Is possible to stream encrypted content (DRM) using only Javascript and HTML5 audio and video tags, leaving behind and not using the SWF approach?

like image 303
Joao Almeida Avatar asked Mar 26 '15 17:03

Joao Almeida


2 Answers

Yes - you can playback encrypted content with certain browsers just using HTML5.

Let's look at the entire workflow.

On the server side: you have to encrypt your content and provide a license server.

for example:

  • Microsoft PlayReady License Servers or
  • Media Source Extensions

On the client side: you need a browser that supports encrypted media extensions (EME).

  • Chrome 34+
  • IE 11+ on Windows 8+
  • Safari 8+ on Mac OS

Netflix started working on it two years ago: http://techblog.netflix.com/2013/04/html5-video-at-netflix.html and supports it now on a variety of browsers and platforms.

like image 144
Markus Schumann Avatar answered Nov 03 '22 09:11

Markus Schumann


you have to use Encrypted Media extension for it:

here is a link from w3c:

https://w3c.github.io/encrypted-media/

more explanation with programmatic sample here:

http://www.html5rocks.com/en/tutorials/eme/basics/

like image 29
Alagesan Palani Avatar answered Nov 03 '22 10:11

Alagesan Palani