YouTube Filter - a twig filter to convert youtube links to embed URLs
by Max Mumford


Description

Adds a Twig extension to convert regular YouTube watch URLs to embed URLs.

Input: {{ 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' | youtube }}
Output: https://www.youtube.com/embed/dQw4w9WgXcQ


More Info

Created
1st Apr 2018
Latest Version(s)
Last Update
  • 6th April 2018 (Release)
  • 6th April 2018 (Development)
Category
Plugin
License
MIT

Changelog & Releases

Loading releases …

Related