Shopify themes, liquid, logos, and UX
Dear community,
I am dealing with an issue that I think is easier to solve than I might think.
On the product page, moreover, at the product images, I added a video that should autoplay when visiting the webpage. However, at the moment the video shows the button with play, which I don't like.
Would be great if anyone could help me out.
To autoplay the video on the product page without displaying the play button, you can use the HTML5 video tag with specific attributes. Here's an example of how you can achieve this:
Locate the section of code that includes the video element on the product page. This code is typically found in the product template file, such as product.liquid
or product-template.liquid
. Open the relevant file in your theme editor.
Find the video element code: Look for the <video>
tag that represents the video element. It might look something like this:
<video src="your_video_source_url.mp4" controls></video>
Hello NomTech,
Thank you for your reply. How is this a solution? Should I copy/paste your code to the bottom of the page (product.liquid or product-template.liquid)?
Hey Paul,
Heb je dit nog kunnen fixen?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024