videojs / videojs-contrib-eme

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

Initialization does simply not work with Angular #194

Closed ghost closed 10 months ago

ghost commented 10 months ago

I now tried every possible way to initialize the videojs-contrib-eme plugin, but no matter what I try I cant get in working, the documentation is as always very thin ... please provide a tested example where you show how to initialize the eme plugin, please also point out if I have to register the eme plugin with videoJs or not ... I really don't understand why we always get undocumented crap from the videoJS team, its really just a pain in the ass to work with this player, no matter what framework you are using.

ghost commented 10 months ago

And just to make it clear again, this is not a valid example, especially not when using a framework like angular, vueJs etc ... :

player.eme();
player.src({
  src: '<your url here>',
  type: 'application/dash+xml',
  keySystems: {
    'com.widevine.alpha': '<YOUR URL HERE>'
  }
});