Liquid, JavaScript, themes, sales channels
I've added a video to Venture theme and want it as an auto play background video as in Debut theme.
What should I do to add auto play background video on Venture theme?
This is the website link:
artem-com.myshopify.com
I've tried these. Those don't work.
<iframe width="560" height="315" src="https://www.youtube.com/embed/kkIabnfvJI8"?rel=0&autoplay=1" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/kkIabnfvJI8"?autoplay=1" frameborder="0" allowfullscreen=""></iframe>
<iframe width="1150" height="350" src="https://www.youtube.com/embed/Nj2U6rhnucI" frameborder="0" allow="autoplay" allowfullscreen></iframe>
Hello,
It looks like it's a CRSF or cross-domain issue, preventing the video to play at all.
Can you make sure everything is ok with CRSF & cookies? I'm sure it will help.
Also Google recently updated terms (a lot of terms).
Have fun,
François
so, do I need to use csrf token?
I am not a programmer, I am just a beginner in shopify trying to modify the them
In some themes it's integrated,
But anyways to make autoplay work in an easy way, it would be easier to translate the youtube file into .mp4, then host it on Shopify CDN (In your shop, Settings > Files). That way, no cross-domain issue with video.
Have fun with Shopify,
How to add in the main page autoplay background video on Slide Show Venture theme? can you help me? pls
User | RANK |
---|---|
32 | |
27 | |
18 | |
7 | |
7 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023