Broken codepen example for Media Capabilities API
Reported by
ew...@mozilla.com,
Aug 9
|
||
Issue description
<b>Chrome Version : <Copy from: 'about:version'></b>
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
Safari:
Firefox: OK, 63
Edge:
What steps will reproduce the problem?
(1) Visit https://www.chromestatus.com/features#media%20capabilities%20encoding
(2) click on Sample 1 in Chrome
(3) Watch it fail
What is the expected result?
Should create a table of whehter there is support for 4 different media configurations.
What happens instead?
console error that encodingInfo is not defined, text area remains blank
Please provide any additional information below. Attach a screenshot if
possible.
change the script in the example on line 23 to read navigator.mediaCapabilities.decodingInfo(configuration) instead of navigator.mediaCapabilities.encodingInfo(configuration)
,
Aug 9
eweyl@: you probably need to have the chrome://flags/#enable-experimental-web-platform-features flag enabled. Media Capabilities has not been released yet.
,
Aug 9
Added a line to the codepen to remind users about said flag. Please feel free to reopen the bug if you think it's still not working.
,
Aug 10
> Media Capabilities has not been released yet. Tiny clarification: the encodingInfo() API is not released yet. decodingInfo() is released. |
||
►
Sign in to add a comment |
||
Comment 1 by ew...@mozilla.com
, Aug 9