Video

Theme section

Theme retirement | Context is no longer available on the Shopify theme store. Theme support and updates for current users will end after May 18, 2024. Learn more here.

The Video section embeds a video uploaded to Shopify, YouTube, or Vimeo. Customers can click to play longer videos with sound about your store and products.

For autoplaying background videos (without sound), see the Video hero, Mosaic grid, and Image with text sections.

Set up section

Add this section to any template (except Checkout) and use the drag-and-drop handles to re-order its position. You can add this section multiple times with different content and settings.

Editing a template changes all pages that use that template. To edit specific pages, you can create new templates or insert dynamic content with metafields.

STEPS

In your theme editor (Customize):

  1. Select a Template to edit from the dropdown menu in the top bar.

    Learn how to use templates in our Templates guide.

  2. Under Template, click (+) Add section and select Video.

  3. Click and hold the drag-and-drop handles ⋮⋮ to re-order your sections.

Add video URL

The Video section displays videos hosted on YouTube or Vimeo. Upload a video to YouTube or Vimeo and add the video URL in the theme editor.

STEPS

In your theme editor (Customize):

  1. Click on the Video block to open the settings.

  2. Copy and paste your video link from Vimeo or YouTube into the Video URL field.

    Make sure you copy the full URL of your video on YouTube or Vimeo, including https:// at the start.

  3. Click Save.

Add image overlay

You can replace the default video player with a custom preview image and a simple play button. This will keep your page looking sleek and tidy.

STEPS

In your theme editor (Customize):

  1. Click the Video section to open the settings.

  2. Select or upload a Featured image as a preview to overlay the video player.

    We recommend using an image from the video. There are no required dimensions. A minimum pixel width of 2500px will ensure optimal quality on the widest screens. See our Image guide to learn more.

  3. (Optional.) Select an Overlay color to display overtop of the video and adjust the Overlay opacity using the slider.

    The Overlay lets you control the brightness and tone of images. Use this setting to balance it with other images and to increase contrast with headings so they're readable.

    Set the opacity to 0% to turn off the overlay color; set it to 100% to create a solid color block with no image.

  4. Click Save.

Settings reference

Click on the Video block to find the following settings:


Related links

Video hero

Last updated