Product page - Trade Theme

Hello,

I’ve added my product and they are video templates , I would like to autoplay them in my product page rather than having the user click on the play button. Is there any way to do that? Please guide.

my product page link : https://www.excelmotions.com/products/sample-110

Hey @Excelmotions ,

To make your videos autoplay on the product page, you already have the necessary autoplay attribute included in your

Here’s the updated code:


Let me know if you encounter any issues!

If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!

Best Regard,
Rajat

where should i add this code ?

@Excelmotions ,

  1. Go to Theme Editor: In Shopify Admin, go to Online Store > Themes > Actions > Edit Code.

  2. Find Product Template: Open sections/product-template.liquid or sections/main-product.liquid.

  3. Insert Code: Replace the existing media code or add the updated

  4. Save and Test: Save changes, then test your product page to ensure the video autoplays.

Let me know if you need exact file details! Please send me a message via email for this. I’ll also need access to your store to proceed.

With over 6-7 years of experience, I’d be happy to help and fix the issue to make your videos autoplay on the product page. Let me know how you’d like to move forward. Thanks!