Liquid, JavaScript, themes, sales channels
Hi,
Yesterday my video on my shopify store https://www.officialdoorstopalarm.com/ was autoplaying fine on both computer and mobile devices. Today I have to click the Youtube play button to start the video on my iphone. I have tried a few of the solution on Shopify community including adding the autoplay and mute into the video DIV, but it still shows the play button. Could you please take a look. The theme is EXPANSE.
Thanks,
Valera
Hi @valeraanatoli,
You are referring to the hero video section, I tested it and it works fine, have you tried testing on another device?
Hello @valeraanatoli
The HTML5 <video> element, in certain mobile browsers (such as Chrome and Safari), only allows playback to take place if it's initiated by a user interaction (such as tapping on the player).
Document https://developers.google.com/youtube/iframe_api_reference#Mobile_considerations
you can embed .mov video so you can autoplay on mobile
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023