Jump to content
jacmaes

Lite YouTube Embed Module

Recommended Posts

This is my very first module, and I'm sure it needs a lot of improvements, so I'd like to get some feedback. I've kept it as simple as possible to fit my basic needs. Adapted from Ryan Cramer's TextformatterVideoEmbed, this TextFormatter module replaces plain YouTube links pasted in a CKEditor field with Paul Irish's blazing fast Lite YouTube Embed script:

https://github.com/jacmaes/TextformatterLiteYouTubeEmbed

Why? The Lite YouTube Embed script is indeed a lot faster than the standard iframe embed. The difference is pretty spectacular when you need to embed a series of videos. It's also more private as it uses youtube-nocookie.com (so no need for a cookie banner).

 

  • Like 12

Share this post


Link to post
Share on other sites

Sweet! How about integrating lite-vimeo-embed too? Then the module could be a drop-in replacement for TextformatterVideoEmbed. 🙂

  • Like 3

Share this post


Link to post
Share on other sites
9 hours ago, Robin S said:

Sweet! How about integrating lite-vimeo-embed too? Then the module could be a drop-in replacement for TextformatterVideoEmbed. 🙂

I use vimeo, so would be very happy with lite-vimeo-embed plugin

Share this post


Link to post
Share on other sites

Thanks guys. I'll see what I can do this weekend, if I finally manage to have some free time.

PS: although I built the following page before this module, it does use the lite-youtube-embed script, so you can check how it looks and how fast the page loads with 14 videos:

https://www.spainculture.us/digital-projects/14-days-14-artists/

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...