Video
A YouTube or Vimeo video, or an uploaded video, in a Mixed content row. It takes a set share of the row width.
Where it is used
This block is used only in the Mixed content section (mixed-content.liquid).
Settings
| Setting | Options | Description |
|---|---|---|
| Video URL | YouTube or Vimeo link for the video. An uploaded video, if one is set, is shown instead. | |
| Video | Overrides the Video URL setting. 684px x 500px recommended. | |
| Video poster | Use the same dimensions as the video. | |
| Enable video autoplay | Starts the video automatically. When off, an uploaded video shows its poster image with a play button until the shopper taps it. | |
| Enable video looping | Restarts the video from the beginning each time it ends. | |
| Video alt text | Text read aloud by screen readers to describe this video. Learn more ( https://help.shopify.com/manual/online-store/themes/theme-structure/theme-features#video-block ) | |
| Video ratio | • Video | Shape of the video frame, 16:9 or 21:9. Adapt to video follows an uploaded video's own proportions, while embedded YouTube or Vimeo videos stay 16:9. |
Block settings
| Setting | Options | Description |
|---|---|---|
| Content vertical alignment | • Top | Places the video at the top, middle or bottom of its row when the neighboring blocks are taller. |
| Width | • 16% | Share of the content row that this video takes, from 16% up to 100%. |
An uploaded file in Video replaces the URL set in Video URL. An uploaded video with autoplay off shows its poster and a play button until a shopper taps it. With no video set, the block stays empty.
No comments yet