Dawn version 10.0 product video autoplay.
Can some please assist with how to do this?
You can customize it as follows after using YouTube or Vimeo:
- Copy the YouTube link in the form of an iframe.
- Access the customize theme section and add the code snippet at the desired location.
- Assign the iframe and add the following code snippet:
The default YouTube iframe:
<iframe width="560" height="315" src="https://www.youtube.com/embed/kffacxfA7G4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
Modify it as follows:
<iframe width="560" height="315" src="https://www.youtube.com/embed/kffacxfA7G4?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
You just need to add ?autoplay=1 after the URL.
Here’s the result, the video will automatically autoplay once the website is accessed.
Thanks for your reply however, I am try to get the product video to automatically play when you scroll past it.



