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 |
---|---|
12 | |
10 | |
10 | |
7 | |
6 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022