videojs / videojs-contrib-eme

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

feat: eme error interface #208

Closed adrums86 closed 6 months ago

adrums86 commented 7 months ago

This adds new error constants from video.js for a more cohesive errors interface, this also adds some new events for granular insight into the EME workflow.

dzianis-dashkevich commented 7 months ago

Do we plan to include other errors?

adrums86 commented 7 months ago

I added an error constant for each keysystem event and added videojs as a peerDependency.

adrums86 commented 7 months ago

Can't flip this back to a draft PR for whatever reason. This shouldn't be merged until the corresponding video.js chore is merged and released first: https://github.com/videojs/video.js/pull/8634