Bug 264851

Summary: Video Source elements not playing on first load when when muted and set to autoplay
Product: WebKit Reporter: Nathaniel Chang <nathaniel>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: iPhone / iPad   
OS: iOS 17   

Nathaniel Chang
Reported 2023-11-14 17:40:38 PST
PROBLEM: On iPad and IOS devices not audo playing the following video elements on the first load of the page. On refresh of the page the the video elements will play. ``` <video class="split-content--picture mod-slide-1" autoplay loop muted playsinline> <source media="(min-height:450px)" src="img/bg-1-lg.mp4" type="video/mp4" /> <source media="(min-height:0px)" src="img/bg-1.mp4" type="video/mp4" /> </video> ``` If the following code is then added to the page then this problem doesn't exsits. ``` <video style="display: none;" controls="true"> </video> ``` EXPECTED RESULT: Second snippet of code is not needed to allow the inital snippet to play.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-11-21 17:41:15 PST
Note You need to log in before you can comment on or make changes to this bug.