HTML5 video autoplay not working on new safari brower

Highlighted
New Member
3 0 0

Hii all
Can you help me?
I want to display HTML5 video autoplay on new updated safari browser.
Thanks :)

0 Likes
Highlighted
Shopify Expert
9871 100 1710

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.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
New Member
1 0 0

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!

0 Likes