Bug 180476
| Summary: | rfc8361 mime-type codecs parameter ignored in <source type> | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Colin Bendell <colin> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eric.carlson, jer.noble, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 11 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Colin Bendell
Safari ignores the codecs parameter when evaluating contenttype in picture and video source tags.
https://colinbendell.github.io/webperf/video-source-type-codecs/index2.html
<video muted autoplay inline>
<source src="Ottawa_River-invalid.webm"
type="video/webm;codecs=invalid">
<source src="Ottawa_River-invalid.mp4"
type="video/mp4;codecs=invalid">
<source src="Ottawa_River-h264.mp4"
type="video/mp4;codecs=avc1">
</video>
Safari picks the first mp4 while chrome currently only selects the avc1 entry. Firefox rejects all of them.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jer Noble
<rdar://problem/35445600>