Issue: YouTube videos embedded on Shopify store pages display correctly on desktop but fail to load on mobile devices (particularly iPhone/Safari).
Working Solution:
Vikas_Chovatiya provided a CSS fix that resolved the issue for the original poster:
Navigate to Online Store → Themes → Edit code
Open Asset → theme.scss.liquid file
Add the following CSS at the bottom:
.video-wrapper {
z-index: 9999;
}
Limitations & Ongoing Issues:
The solution worked for some users but not universally
Several users report the fix doesn’t work with specific themes (Turbo, Debut, District, Alchemy)
One user attempted implementing a “lite YouTube embed” solution for performance optimization but encountered black box display issues on mobile
Multiple users requested additional help, with some unable to locate the specified asset file in their themes
Status: Partially resolved - the CSS solution works for some theme configurations but requires theme-specific troubleshooting for others. The discussion remains active with users seeking alternative solutions.
Summarized with AI on November 16.
AI used: claude-sonnet-4-5-20250929.
I’m at a bit of a loss on this one. There is a video embedded from youtube on an info page, it works on the desktop but not mobile. I’ve tried a couple of browsers on my iPhone and neither work. This theme is a customized purchased template, so I can’t get support from Shopify and the original theme developers also said it was customized too much to offer support. I’m really hoping for some ideas on how this might be fixed.
Thank you for the post! this is truly helpful.
I have the same Youtube Video embed issue unfortunately. Now I found solutions on this post. Again thanks.
Do you know how to make lite youtube embed work for mobile? Following works for desktop but embedded video is shown as black box on mobile. Embedding video is regular way is causing slow speed so I am looking for way to embed youtube video responsibly while imporving google mobile vital.
Hi, I am having the same issue. I am using Shopify District Theme and the embedded youtube link on the homepage does not load in Safari. It works fine in chrome on a mac. I tested it on my iphone and it would’t work in safari. I then tested it in Safari on my mac and the youtube video did not play there as well. Can you please advise?