The Lite YouTube module offers a performance-enhancing way to display YouTube videos. Instead of loading videos automatically, it uses JavaScript to defer loading until the user clicks play, significantly speeding up initial page loads.
This module provides an alternative field formatter for rendering YouTube video fields using JavaScript libraries instead of the default OEmbed iframe.
This new field formatter implements on-demand loading of YouTube videos. This means that videos do not automatically load when accessing a page but start loading when the user clicks play, thus reducing initial page load times.
Getting Started:
- Install Lite Youtube as you would any other Drupal module, and activate it.
- Go to the Content Types management page (/admin/structure/types) and select "Manage display" in the Operations list of the Content Type that contains a YouTube video field.
- In the "Format" section of the YouTube video field select "Lite Youtube". Note that in the third-party settings of the formatter, you can configure various aspects such as the title of the play button, poster quality, poster loading, among others.
- Save the changes.
Javascript libraries:
Similar modules:
Ask your assistant about Lite Youtube
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.0-alpha1 | Pre-release | 8–11 | Jul 1, 2025 | ||
| 1.0.2 | Stable | 8–11 | Jun 6, 2025 | ||
| 1.0.1 | Stable | 8–10 | Apr 10, 2024 | ||
| 1.0.0 | Stable | 8–10 | Dec 28, 2023 | ||
| 1.0.0-alpha1 | Pre-release | 8–10 | Feb 17, 2023 |