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 #541
    In the 541st issue of ProcessWire Weekly we'll share the latest core development news, check out a new module called Search Corrections, and more. Read on!
    Weekly.pw / 21 September 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“We chose ProcessWire because of its excellent architecture, modular extensibility and the internal API. The CMS offers the necessary flexibility and performance for such a complex website like superbude.de. ProcessWire offers options that are only available for larger systems, such as Drupal, and allows a much slimmer development process.” —xport communication GmbH