Autoplay video on product page in Dawn theme

HesronRadiance
Visitor
2 0 0

Hi everyone, 

 

I'm using Dawn theme and i'd like to have a video on my product page to play automatically. Now it's just like a normal video, with an outline and a play button. I'd try to fix it myself, but it's still the same. Can somebody help me out?

 

Thanks in advance!

Replies 3 (3)

ThePrimeWeb
Shopify Partner
1820 514 389

Hey @HesronRadiance,

 

Can you share the link to this product that has a video? Thanks!

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!

kazi
Shopify Partner
558 86 107

You can add custom liquid section with html code like this

 

<style>
video {
display: block;
margin: 0 auto;
}
</style>

<video width="600" controls autoplay muted>
<source src="file-name.mp4" type="video/mp4">

</video>

Need help with SPEED OPTIMIZATION | THEME CUSTOMIZATION ? WhatsApp Email Skype: kof.bd