Hii all
Can you help me?
I want to display HTML5 video autoplay on new updated safari browser.
Thanks ![]()
Got an example link to a page on your site where it’s not working in Safari 13?
Some browsers and video content would need user action. If it’s without Audio, it should play just fine.
No customer really wants autoplaying video with Audio so don’t force that on people unless you’re 100% sure it’s going to add some value.
I had to add the following to the video tag:
<video class="landingvideo" id="landvid" src="{{section.settings.landingvideo}}" muted playsinline autoplay loop></video>
Most browsers won’t autoplay a video unless it is muted, and iOS Safari needs “playsinline” attribute.
Hope that helps!
2 Likes
Can you share your full video banner code, including the code line you indicated? That would be great, thank you.