Skip to content

jacmaes/TextformatterLiteYouTubeEmbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Lite YouTube Embed Module for the Processwire CMS

Adapted from Ryan Cramer's TextformatterVideoEmbed, this module replaces plain YouTube links pasted in a CKEditor field with Paul Irish's blazing fast Lite YouTube Embed script:

So for example pasting the following links…

https://youtu.be/z_DwA8We7pI
https://www.youtube.com/watch?v=5UAFdL8N91U
https://www.youtube.com/?v=ucmU2nbCVI8

…will convert them to:

<lite-youtube videoid='z_DwA8We7pI'></lite-youtube>
<lite-youtube videoid='5UAFdL8N91U'></lite-youtube>
<lite-youtube videoid='ucmU2nbCVI8'></lite-youtube>

Note: you need to include the lite-youtube-embed stylesheet and script yourself as this module will not do it automatically for you.

About

ProcessWire Lite YouTube Embed Module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published