videojs / videojs-contrib-eme

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

Unable to play FPS(Fairplay) contents with Videojs on iOS WKWebview #153

Closed kyojunlee closed 2 years ago

kyojunlee commented 2 years ago

Description

The following 2 attempts failed to play FPS contents(HLS) on WKWebview with Videojs player.

  1. Forcibly set overrideNative = false on WKWebview. this.options.html5.vhs.overrideNative = false; this.options.hls.overrideNative = false;

  2. Injected custom useragent "Safari;" to help videojs to recognize the browser as Safari.

Steps to reproduce

FPS contents are encrypted via Pallycon. It can be played well on Safari, but not on WKWebview only. I already tried the most recent 7.17 version of videojs, but it fails to play FPS contents. Due to security reason, I cannot include contents URL and any data for DRM decryption.

Results

Expected

videojs player should be able to play FPS contents on WKWebview like other players do (Bitmovin and JW player)

Actual

videojs fails to play FPS contents with error message of "NotSupportedError"

Error output

"NotSupportedError"

Additional Information

Please include any additional information necessary here. Including the following:

versions