How to add video on product media or product description without external link and with autoplay

Topic summary

A user working with the Electro theme is trying to add videos to product pages with autoplay functionality. They’ve attempted two methods:

  • Product media: Using YouTube links directly
  • Product description: Using embed codes

Both approaches face issues:

  • Videos sometimes fail to play
  • Autoplay doesn’t work

One community member suggested adding ?autoplay=true to the YouTube embed URL:

<iframe src="https://www.youtube.com/embed/VIDEO_ID?autoplay=true"...

However, the original poster confirmed this solution did not work.

The issue remains unresolved with no working autoplay solution identified yet. Additional troubleshooting may be needed, as browser autoplay policies often block videos with sound from autoplaying without user interaction.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

Dear Shopify community, I’m using an electro theme and I want to add a video in product media or description I’m using a YouTube link for product media or embed code for the description but sometimes it doesn’t play and secondly, it’s not autoplay I want to add video with autoplay, if someone knows the way and let me know.

URL: https://electroshoppro.us/products/ems-thermal-neck-lifting-and-tighten-massager-electric-microcurrent-wrinkle-remover-led-photon-face-beauty-device-for-woman?variant=44300608930035

Hey @Fahadhassan ,

To autoplay try this

<iframe width="560" height="315" src="https://www.youtube.com/embed/L6uBiz-BQGc?si=dH7-XWT7Cf6PNFqi?autoplay=true" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen=""></iframe>

It didn’t work