WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
264851
Video Source elements not playing on first load when when muted and set to autoplay
https://bugs.webkit.org/show_bug.cgi?id=264851
Summary
Video Source elements not playing on first load when when muted and set to au...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-21 17:41:15 PST
<
rdar://problem/118700772
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug