Reference

Guide

(video: …)

Embeds a YouTube or Vimeo video by URL

Attributes

class
caption
height
width

Examples and options:

YouTube

Embedded YouTube video by video URL:

(video: http://www.youtube.com/watch?v=lLuc6rtWkrM)

The following link YouTube link formats are recognized:

Vimeo

Embedded Vimeo video by video URL:

(video: http://vimeo.com/3432886)

Caption

(video: http://youtu.be/lLuc6rtWkrM caption: This is a really nice video)

iframe size

(video: http://vimeo.com/3432886 width: 300 height: 200)

Custom CSS class

(video: http://youtu.be/lLuc6rtWkrM class: myvideo)

Version 2's youtube and vimeo tags

Source code

kirby/config/tags.php#L237