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 #547
    In the 547th issue of ProcessWire Weekly we're going to check out the latest core updates, introduce a couple of new modules, and more. Read on!
    Weekly.pw / 2 November 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

I just love the easy and intuitive ProcessWire API. ProcessWire rocks!” —Jens Martsch, Web developer