Bug 180476 - rfc8361 mime-type codecs parameter ignored in <source type>
Summary: rfc8361 mime-type codecs parameter ignored in <source type>
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 11
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-12-06 08:46 PST by Colin Bendell
Modified: 2018-01-18 13:54 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Bendell 2017-12-06 08:46:52 PST
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.
Comment 1 Jer Noble 2018-01-18 13:54:19 PST
<rdar://problem/35445600>