googlearchive / sample-media-pwa

A sample video-on-demand media Progressive Web App
Apache License 2.0
895 stars 185 forks source link

biograf does not handle RMKSA rejection #31

Open ericdeily opened 7 years ago

ericdeily commented 7 years ago

on Chrome for Android, if you go to the EME video and attempt to play the content, you will be prompted (if the first time).

  1. on chrome for Android try the following
  2. try to play protected content
  3. get prompted - "biograf-155113.appspot.com wants to unique identify your device to play protected content. learn more [BLOCK][ALLOW]
  4. click [BLOCK]
  5. content never plays

the problem is this setting is persisted, so next time into the site, you don't get a prompt anymore, the content just never plays.

RECOMMENDED : -update biograf PWA to handle this and provide guidance to user. if set to BLOCKed for the site, RMKSA promise will be rejected when requesting com.widevine.alpha.

beaufortfrancois commented 7 years ago

On this._player.load(...), Shaka Player returns a 6001 error code which sadly doesn't tell me if the RMKSA call failed only because user blocked it, it could be different reasons.

This is why I'm advocating offline for an alternative solution to this prompt.