TextformatterLiteYouTubeEmbed by jacmaes

Replaces plain YouTube links in a CKEditor field with Paul Irish's much faster YouTube embed script.

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.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #520
    In the 520th issue of ProcessWire Weekly we'll check out some of the latest additions to the ProcessWire module's directory, share some highlights from the latest weekly update from Ryan, and more. Read on!
    Weekly.pw / 27 April 2024
  • ProFields Table Field with Actions support
    This week we have some updates for the ProFields table field (FieldtypeTable). These updates are primarily focused on adding new tools for the editor to facilitate input and management of content in a table field.
    Blog / 12 April 2024
  • Subscribe to weekly ProcessWire news

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull