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 #519
    In the 519th issue of ProcessWire Weekly we'll check out a new third party module called RockForms, introduce the latest ProcessWire core updates, and more. Read on!
    Weekly.pw / 20 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

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits