videojs / videojs-contrib-eme

Supports Encrypted Media Extensions for playback of encrypted content in Video.js
Other
203 stars 72 forks source link

Playback HLS format with FairPlay encryption using Azure Media Services #93

Closed tabas closed 4 years ago

tabas commented 5 years ago

Hi,

I try to integrate Azure Media Servies and DRM with Video.js player. To playback of encrypted content, I also use videojs-contrib-eme plugin for Video.js. I succeed with MPEG DASH and PlayReady/Widevine encryptions and I have problems with HLS format and Fair encryption. My player source object looks as in the picture below:

source

I'm getting the next error:

Annotation 2019-08-29 234249

I look like Video.js works bad with my license URL which starts with "skd://" and it fails due to cross-origin policy.

Have I missed something in my implementation? Thanks

molten-firescar96 commented 4 years ago

I have a similar setup with ezdrm. Change "skd" to "https" in the configuration you've posted.

gkatsev commented 4 years ago

Thanks for answering @MTonomy-Nchinda-Nchinda.