vimeo - Liquid Filter Reference
On this page
| Filter Name | vimeo |
|---|---|
| Group | Videos |
| Version | 1.2.3 |
Returns HTML embed code for the supplied Vimeo id
Examples
{{ "12345-abcde" | vimeo }}
Result:
```
```
Options
start_at
Moves the playback starting position of the video forward by this number of seconds
When start_at is provided, it adjusts the embed code for the requested start time:
{{ "12345-abcde" | vimeo, start_at: 678 }}
Result:
```
```
Using an unlisted Vimeo video
For unlisted Vimeo videos, the embed needs to use the player URL format with the hash included as a query parameter.
For example
{{ "1020379123?h=5e86c5f89b" | vimeo }}
The format is the video ID followed by the video reference hash as a second parameter. This ensures both are passed correctly to the Vimeo player.
If the video still doesn’t load after using the correct format, try this troubleshooting step:
In Vimeo, go to Video Settings > Privacy > Where can this be embedded? and make sure the site’s domain is added to the allowed/trusted domains list, or that embedding is set to “Anywhere”. If the domain isn’t on that list, Vimeo will block the embed regardless of whether the code is correct.
After updating the privacy settings, refresh the page and test again.