video wont play on mobile

SonderApparel
Visitor
2 0 0

hi, 

 

i have a video on my homepge that ive managed to get to auto play and loop using the below code, but it doesnt play on mobile?

 

am i missing something?

 


<style>
video {
width: 100%;
height: auto;
display: block;
margin: 0 auto;


}
</style>


<html>
<body>


<video autoplay="autoplay" loop= "loop">

<source src="https://cdn.shopify.com/videos/c/o/v/2f00713f9ffd4526ac8f685c84bdf7a5.mp4" type="video/mp4">
<source src="https://cdn.shopify.com/videos/c/o/v/2f00713f9ffd4526ac8f685c84bdf7a5.mp4" type="video/ogg">
Your browser does not support the video tag.
</video>

</body>
</html>

Replies 0 (0)