Skip to main content
SimpleVideo.EU
All tutorials

Embedding a video on Shopify

Add a SimpleVideo player to your Shopify store with a Custom Liquid section or block, or place it in a product or page description.

Copy the embed snippet

Open the video in SimpleVideo, go to the Embed tab, and click Copy embed snippet. For the theme editor, keep Recommended embed selected. The snippet looks like this, with your own video ID:

<div class="simplevideo-embed" data-sv="2026.1.21" data-video-id="sv_YOUR_VIDEO_ID"></div>
<script src="https://embed.simplevideo.eu/js" async></script>

Add a Custom Liquid section in the theme editor

In your Shopify admin, go to Online Store, find your current theme, and click Edit theme. Use the template selector at the top to pick the page type, for example the home page or the product template.

Click Add section and search for Custom Liquid. To place the video inside an existing section instead, such as Product information, click Add block in that section and choose Custom Liquid.

Paste the snippet into the Liquid field and click Save. The Custom Liquid field accepts HTML, so you can paste the snippet as it is. Most Online Store 2.0 themes include it, but not every theme offers a Custom Liquid block in every section.

Or place it in a product or page description

To show the video in one product description, page, or blog post, use the rich text editor. Switch to the HTML view with the Show HTML (code) button, paste the snippet where the video should appear, and save.

The rich text editor rewrites HTML it considers unsafe and can drop scripts. If the player does not appear here, copy the Alternative embed from SimpleVideo instead. It is a plain iframe and needs no script.

Check the storefront

Open your store in a new tab and go to the page where you placed the video. The player uses the settings from your SimpleVideo dashboard, and changes you make there show up without editing the theme again.

A Custom Liquid section added to a template shows the same video on every page that uses that template. To show a different video per product, use the product description, or create a separate product template.

Restrict where the video can play

If you turned on Only allow specific sites on the Embed tab, add every domain where your store is visible. That includes your own domain and, if you preview there, your myshopify.com address.