html5 video - unsupported keySystem Exception occure accroding to EME Specification -


in chrome browser (version 51.0.2704.63), according eme specification, when use

 navigator.requestmediakeyaccess(keysystem, supportedconfig) 

unsupported keysystem exception occured,

parameters follows

keysystem: 'com.widevine.alpha'  supportedconfig: [{             initdatatypes: ['keyids', 'webm'],             audiocapabilities: [{                 contenttype: 'audio/webm; codecs="opus"'             }],             videocapabilities: [{                 contenttype: 'video/webm; codecs="vp9"'             }]         }] 

somebody can tell me why unsupported keysystem exception occured?

could because chrome "deprecating powerful features on insecure origins"

https://sites.google.com/a/chromium.org/dev/home/chromium-security/deprecating-powerful-features-on-insecure-origins

so navigator.requestmediakeyaccess(keysystem, supportedconfig) must used in "secure origin" aka. https.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo