youtube_video

The youtube_video filter takes two arguments. The first argument (required) is the YouTube video ID. The second argument (optional) is a hash containing the keys "height" and "width", each with a numeric value.

{{ "u155ncSlkCk"|youtube_video({ height: 480, width: 600 }) }}