Etch component
Video 1
A video from YouTube, Vimeo or TikTok, or a video file from the site, that loads only when it's clicked: until then, nothing comes from the video's host.
Documentation
A video from YouTube, Vimeo or TikTok, or a video file from the site, that loads only when it's clicked: until then, nothing comes from the video's host.
How to use it
- Paste the video's link in URL, as the host's Share button gives it, or a link to an MP4 or WebM file in the media library. It can also be bound to a field, such as an oEmbed field.
- Fill Title, such as "House tour": screen readers name the button and the player by it.
- Pick a Poster for a picture before the click, or leave it empty for the plain ground with the play button.
Good to know
- Before the click nothing loads from the host, not even its thumbnail, and the button names the host. After it, the host's player loads and plays: YouTube's from youtube-nocookie.com, Vimeo's with Do Not Track. The site's privacy policy names the hosts its videos come from.
- TikTok videos and YouTube Shorts show tall, about as wide as a phone.
- The CSS variables set the shape, the tall videos' width, the corners, border, ground and the play button's colors.