vimeo - Liquid Filter Reference - 1.0.0
Filter Name | vimeo |
Group | Videos |
Version | 1.0.0 |
Description
Returns HTML embed code for the supplied Vimeo id
Examples
{{ "12345-abcde" | vimeo }}
<div class="responsive-iframe"><iframe src="https://player.vimeo.com/video/12345-abcde#t=0s" frameborder="0" allow="autoplay; fullscreen" allowfullscreen class="Video_embed vimeo"></iframe></div>
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 }}
<div class="responsive-iframe"><iframe src="https://player.vimeo.com/video/12345-abcde#t=678s" frameborder="0" allow="autoplay; fullscreen" allowfullscreen class="Video_embed vimeo"></iframe></div>
Back to Liquid Reference for 1.0.0
Back to Documentation