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?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024