Closed
Bug 1077046
Opened 10 years ago
Closed 10 years ago
implement MediaSource.prototype.isTypeSupported
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: nick, Unassigned)
References
(Blocks 1 open bug)
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
Comment 1•10 years ago
|
||
Use MediaSource.isTypeSupported() as it is declared static.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•