videojs / videojs-contrib-eme

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

fix: type error with legacy fairplay #222

Closed alex-barstow closed 4 months ago

alex-barstow commented 4 months ago

Description

In cases where a fairplay request fails, the following error was occurring: TypeError: emeError is not a function. (In 'emeError(err, metadata)', 'emeError' is undefined). We simply weren't passing in emeError to handleWebKitNeedKeyEvent() as was expected.