Fixes an issue where the player options might not be set by the time the 'encrypted' event listener is attached, which can erroneously follow the MediaKeys flow instead of WebkitMediaKeys when legacy fairplay is keysystem. Also adds some debug logging to better track this behavior.
...and no, surprisingly the original typo was not the actual problem. 😄
Fixes an issue where the player options might not be set by the time the 'encrypted' event listener is attached, which can erroneously follow the
MediaKeys
flow instead ofWebkitMediaKeys
when legacy fairplay is keysystem. Also adds some debug logging to better track this behavior....and no, surprisingly the original typo was not the actual problem. 😄