Skip to content

A Craft CMS plugin providing a Twig filter for embedding video from YouTube and Vimeo URLs

License

Notifications You must be signed in to change notification settings

Staplegun-US/craft-video-embed-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

craft-video-embed-utility

A Craft CMS plugin providing a Twig filter for converting YouTube, Vimeo and Facebook URLs into an embedded video <iframe> with the necessary settings applied.

Usage:

Once installed, a videoEmbed filter will be available to your templates allowing you to embed a video in your page with just the URL:

{{https://www.youtube.com/watch?v=6-HUgzYPm9g|videoEmbed}}

The filter also allows you to provide querystring based embed options as the first argument in the filter:

{{url|videoEmbed({ byline: 0, autoplay: 1 })}

About

A Craft CMS plugin providing a Twig filter for embedding video from YouTube and Vimeo URLs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published