How can I autoplay a product media video on the Dawn theme?

Hi, Product Media Video - Auto play when page opens.

Can anyone please assist with how this is done?

I am using Dawn theme.

Hi @iamsam
Its SideNode! We will be happy to help you today.
share your frontend URL of website. where the video section is

Let me know if need further assistance
Regards,
SideNode

Hi SideNode

https://www.lamontcollective.com/products/staple-washed-tee

See Link above, if you scroll you will see you need to push play for the product video to play. I would like it to automatically play.

hi @iamsam

Its SideNode! We will be happy to help you today.

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->theme.Liquid .Add this code before tag is closing.


If I was able to assist you, please remember to give it a Like and Mark it as the Solution!
Let me know if need further assistance
Regards,
SideNode

2 Likes

Hi SideNode,

This works perfect when using a desktop but the video’s are not auto playing when using a mobile.

Also, when you open the product page on desktop, the page jumps to were the video is. Preferably it when op as normal. see example https://www.lamontcollective.com/products/staple-washed-tee

Are you able to come to a solution please.

Thanks for your help it is much appreciated.

hi @iamsam

Its SideNode! We will be happy to help you today.

  1. For mobile we have to do custom code its can be quite time-consuming.
  2. Could you please provide further clarification for your second query? It seems that it is currently not understandable.

Regards,
SideNode

1 Like

Hi SideNode,

Sorry for that.

When you open the product page on desktop, the page jumps to where the video is, and for me the video is the last image so the page jumps to the bottom.

Does this make sense? click the link above and you will see what I mean.

Thank you.

1 Like

Hi SideNode, are you able to create the custom code?