How to add autoplay background video on Venture theme?

Revina
New Member
3 0 0

 

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>

 

Replies 5 (5)
BananaMoon
Excursionist
64 1 5

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

Revina
New Member
3 0 0

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

BananaMoon
Excursionist
64 1 5

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,

diego_ezfy
Shopify Partner
2855 544 796
benocolorshop
New Member
1 0 0

How to add in the main page autoplay background video on Slide Show Venture theme? can you help me? pls