Autoplay video on homepage - Alchemy theme

Hi there,

Please could someone help me as I am trying to get the youtube video which is embeded on my homepage to autoplay, I am using the Alchemy theme which currently does not allow for this. Would anyone know where I can add the code in for the video to autoplay when a customer comes on the site?

www.mossandcable.com

Thanks,

Siobhan

  1. Find the code that embeds the YouTube video on your homepage. This code may use an <iframe> element with a src attribute pointing to the YouTube video URL.

  2. Add the autoplay parameter to the YouTube video URL in the src attribute. The modified code will look something like this:

<iframe src="https://www.youtube.com/embed/your-video-id?autoplay=1" frameborder="0" allowfullscreen=""></iframe>

Replace "your-video-id" with the actual ID of your YouTube video. Make sure to keep the ?autoplay=1 parameter at the end of the URL to enable autoplay.

It seems your website link is broken. No worries. To create the autoplay feature, you’ll have to edit some of the code files.

Do you have any experience coding in Shopify? Thanks.