implement MediaSource.prototype.isTypeSupported

RESOLVED INVALID

Status

()

RESOLVED INVALID
5 years ago
4 years ago

People

(Reporter: nick, Unassigned)

Tracking

(Blocks: 1 bug)

30 Branch
x86
macOS
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

From the spec [0].  I noticed that when I tried to pass 'audio/mp3' to MediaSource.prototype.addSourceBuffer I got an error [1].  When I tried to check if that type was supported, I got an error.

```javascript
(new MediaSource).isTypeSupported('audio/mp3');
```


[0] https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#widl-MediaSource-isTypeSupported-boolean-DOMString-type
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=932516
Use MediaSource.isTypeSupported() as it is declared static.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.