Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

embed_url Modifier

Converts a Youtube or Vimeo link to their embed URLs.

Plays nicely with the Video fieldtype and the is_embeddable modifier.

youtube: https://www.youtube.com/watch?v=s9F5fhJQo34
vimeo: https://vimeo.com/22439234
other: http://example.com/video.mp4
{{ youtube | embed_url }}
{{ vimeo | embed_url }}
{{ other | embed_url }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →