Liane docs › Sections › Home and content
Video
Add it to any page with Add section. In a new store it’s on the about page.
The Video section sets a heading and text beside a video poster with a play button. Use a YouTube or Vimeo link, or a File uploaded to Shopify; when both are set, the file plays.
The player loads only when a customer presses play, so the page stays light. Until then the poster shows your Poster image, else the uploaded video’s own preview, else a placeholder drawing. YouTube videos play from YouTube’s privacy-enhanced address, and Vimeo is asked not to track viewers.
The poster sits in a soft rounded shape on the line’s side, which Position sets. Its corners tighten once the video plays, so the player’s controls stay in view. On phones the words come first.
Tips
- Name and Length show on the poster. Without a Name, screen readers name the play button after the section’s Heading.
- An uploaded video keeps its own proportions; a YouTube or Vimeo video shows at 16:9.
Settings
| Setting | What it does | Default |
|---|---|---|
| Color scheme | Scheme 1 | |
| Position | Alternate with the line: the side follows the section’s place on the page and changes from one section to the next. | Alternate with the line |
| Line | Pass beside the content: the line runs down the section’s side and draws nothing around its content. Pause here: the line goes behind the section and comes out below it. | Draw around the content |
| Text above heading | ||
| Heading | “Video” | |
| Text | “Tell customers what the video shows and how long it is.” | |
| Video | ||
| YouTube or Vimeo link | https://www.youtube.com/watch?v=_9VUPq3SxOc | |
| File | A video uploaded to Shopify. Plays instead of the YouTube or Vimeo link. | |
| Poster image | Shows before the video plays. 16:9 aspect ratio recommended | |
| Name | Names the play button for screen readers and shows on the poster. | |
| Length | Shows on the poster, for example 3:12 | |