Shopify does not have a one-click YouTube button on every theme, but adding a video is straightforward once you know where the HTML goes.
Method 1: a Custom Liquid section (Online Store 2.0 themes)
Most current Shopify themes support Custom Liquid sections, which accept raw HTML:
- In the Shopify theme editor, add a new section and choose “Custom Liquid”.
- Build your embed code with the embed code generator, enabling the responsive wrapper so it fits Shopify’s flexible page widths.
- Paste the generated code into the Custom Liquid section’s content field.
- Save and preview the page.
Method 2: a rich text or HTML block on a product/page description
For a product description or a standard page, switch the description editor to “Show HTML” (usually a small <> icon above the text field) and paste the embed code directly into the HTML source, rather than the visual editor, so the iframe tags are not escaped.
Making it responsive inside Shopify’s layout
Shopify page widths vary by theme and section settings, so always use a responsive (percentage-based) embed rather than a fixed pixel size. Otherwise the video can either overflow a narrow column on mobile or leave awkward blank space in a wide one.
Common issues
If the embed does not appear after saving, double-check you pasted the code into an HTML-aware field (Custom Liquid or the HTML source view) rather than the plain rich-text editor, which can strip iframe tags entirely. Also confirm your theme does not lazy-load entire sections in a way that conflicts with the iframe’s own loading=”lazy” attribute; in most themes the two work fine together.