Closed Bug 1477011 Opened Last year Closed Last year
Play Type(video/mp4; codecs="vp9") returns ""
46 bytes, text/x-phabricator-request
|Details | Review|
VP9 in mp4 is supported, yet canPlayType returns an empty string here.
MediaSource.isTypeSupported("video/mp4; codecs="vp9") returns true however...
This is due to https://searchfox.org/mozilla-central/source/dom/html/HTMLMediaElement.cpp#4803 // We don't have a demuxer that can handle VP9 in non-fragmented MP4. // So special-case VP9 in MP4 here, as we assume canPlayType() implies // non-fragmented MP4 anyway. Note we report that we can play VP9 // in MP4 in MediaSource.isTypeSupported(), as the fragmented MP4 // demuxer can handle VP9 in fragmented MP4. I don't think that assumption is still true now that we've switched to the rust mp4 demuxer
See Also: → 1338032
Crafted https://raw.githubusercontent.com/jyavenard/htmltests/master/mediatest/mp4/bipbop_vp9.mp4 that shows that it plays. Should remove that restriction...
Since we switched to the mp4 rust demuxer, VP9 in mp4 is always supported.
Comment on attachment 8993591 [details] Bug 1477011 - Report vp9 in mp4 as supported. r?dminor Dan Minor [:dminor] has approved the revision. https://phabricator.services.mozilla.com/D2261
Attachment #8993591 - Flags: review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/afcfe1cd7c55 Report vp9 in mp4 as supported. r=dminor
You need to log in before you can comment on or make changes to this bug.