New issue
Advanced search Search tips

Issue 872836 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 9
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

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)

 
this codepen works:

https://codepen.io/estelle/pen/VBqKMr
Status: WontFix (was: Unconfirmed)
eweyl@: you probably need to have the
chrome://flags/#enable-experimental-web-platform-features
flag enabled.  Media Capabilities has not been released
yet.
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.
> 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