Need the video section to autoplay in the homepage

I need the video embedded in the video section to autoplay and not look so youtube generic… I don’t like that customers have to click the play button for it to start. I tried some code but didn’t work. :downcast_face_with_sweat: Any idea?

URL: paradise-backdrops.myshopify.com or paradisebackdrops.com

This is PageFly - Free Landing Page Builder.

To autoplay the video, you have to add the attribute into the source of video. And also it is required to mute the video, because some browser doesn’t allow autoplay with audio

Here is the correct source you need to replace with the current one :

Source :’ https://www.youtube-nocookie.com/embed/JYVIm_XKl7Y?autoplay=1&mute=1

I have added the autoplay and mute for you

Hope this can help you solve the issue

Best regards,

PageFly

Hi @PageFly-Victor , I tried but it’s not working.

The default option for video doesn’t allow this type of video link URL
the only way to achieve this is using an custom Liquid from theme and paste the custom video inside, like this

Please try this code

<iframe src="https://www.youtube-nocookie.com/embed/JYVIm_XKl7Y?autoplay=1&mute=1" allow="autoplay; encrypted-media" allowfullscreen="" title=""></iframe>

in the custom liquid place holder

Hi @PageFly-Victor thank for you help. I really appreciate it man.

I mean it works but I need it to be like a video banner with full width and to not look like this after it finishes playing. I need it to keep playing over and over. Do you know how can I achieve that?

1 Like

Can you just display the video like that first, and let me styling it after that?

Hi @PageFly-Victor I already made it work creating a new section and new code! Thank you so much for your support and guidance!

1 Like