Autoplay del video nella scheda prodotto (tema Dawn): richiesta di far partire automaticamente il video presente come ultimo media elemento nella gallery/slider (anche su mobile), mantenendolo insieme alle immagini e nascondendo i controlli.
Suggerimenti ricevuti:
È fattibile, ma richiede personalizzazione del tema.
Viene indicato un esempio HTML5 per autoplay (link a w3schools).
In alternativa, usare JavaScript per rilevare la presenza di un tag video nella pagina prodotto e avviare la riproduzione automaticamente.
Stato della discussione:
L’autore chiede più volte dove inserire il codice nel tema (novizio), ma non viene fornita una risposta concreta su file/sezioni specifiche.
Nessuna soluzione completa o guida di implementazione nel Dawn; thread rimane aperto/irrisolto su “dove mettere il codice” e su come nascondere i controlli.
Summarized with AI on February 26.
AI used: gpt-5.2.
I’m having issues trying to get the videos on the product card to autoplay. I saw the ability to add custom liquid section on product templates but I would like to keep the video with all of the images the product card(make sure the video stays in the slider on mobile as well). I would also like to hide the controls. Any suggestions?
It’s possible but not without customization.
You can follow this example
Alternatively write a JS code which will find, Is there any video available in the product page. If yes, trigger its play button and video will start else do nothing.