I tried this option but my youtube short was way too big to view. So I tried using the liquid code and taking everything after shorts/ and after using that to replace with the code below, my short video was as big as I liked and centered.
Topic summary
Issue: A user encountered an error when trying to embed a YouTube Short on their Shopify store homepage. Shopify’s native video section rejected the YouTube Shorts URL format.
Solution Found: Converting the YouTube Shorts URL format resolves the compatibility issue:
- Original format:
youtube.com/shorts/[VIDEO_ID] - Working format:
youtube.com/watch?v=[VIDEO_ID]
Additional Methods Discussed:
For product pages:
- Upload video files directly to Shopify (Content → Files)
- Use the “Custom Liquid” section in the theme editor with HTML/CSS code to embed the video
- Some themes may have built-in video upload options in product page sections
For sizing control:
- One user shared custom iframe code with specific dimensions (472x840) and centering to better display YouTube Shorts while maintaining proper aspect ratio
Status: The original poster successfully resolved their homepage embedding issue. The thread remains a resource for others facing similar YouTube Shorts integration challenges.