Why can't I link an autoplaying YouTube video in Dawn theme?

Hello! I would like to link an autoplaying YouTube video on a loop. The Shopify Dawn Theme’s video section is not accepting it: https://youtu.be/TxvZ2IumBGQ?si=HLFLmLJTxwiKl_W7

Note: I am able to link the video as an mp4 uploaded to Shopify but cannot get it to autoplay. If I could get it to autoplay, this could work as an alternative.

@sweetneptune - did you use autoplay attribute of video tag?

Hello @sweetneptune :waving_hand:

You can use the autoplay attribute. An example here

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_video_autoplay

Hi @sweetneptune You need to add the autoplay and loop attribute in your video, if this code is not working then you need to add the custom code so that it will work for your theme, according to your theme files.

If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!

Best Regards

Sahil

Hi! Where would I add the code? And what would it look like?