Hi,
I would like to autoplay a video in the media product section. No YouTube link solution
I’m using the theme Baseline.
Here’s an exemple of what I want :
https://www.roa-hiking.com/products/roa-footwear-lhakpa-green-j268220?variant=46887318454604
any solution plz ?
Hi @NICONORM
Please try adding below code to bottom of your product-template file. if you have “main-product.liquid” section then you can try adding the code there.
Let me know if it helps or not.
Hi,
No it doesn’t’ work like the example,
We can still see the player and it’s loading…
Any other suggestions plz ?
Best
@NICONORM
Can you please share the theme URL after implementing the above code with the product URL.
The reference website is having different way of implementing the video.
So the script I give above was to implement auto-play by keeping your theme code as it is.
Do you want to disable click on it after the video starts playing and have the controls hidden?
@NICONORM
Can you please share the theme URL after implementing the above code with the product URL so that I can guide you accordingly.
Click on … button besides the theme which you are working on and right click on Preview and click “Copy link address”.
@NICONORM
Have you added the script to the file? Can you please provide screenshot where you have added it.
Also, are you working on LIVE theme? If no, then above URL is not complete. Please paste the complete URL directly here from the above given steps but If you’d like to discuss this more or having concerns, don’t hesitate to send me a PM.