GLightbox is very opinionated on including libraries as local but plyr.io is loaded remotely

Created on 13 November 2024, 2 months ago

Problem/Motivation

This module includes the GLightbox library from packagist, which is great, but then the library itself uses CDN to load plyr.io by default.

Proposed resolution

Load the GLightbox object using custom options to mark what the location of the plyr.io library is (if found).

Remaining tasks

Add a plyr.io library that falls back to CDN.
If the library is present locally, use that in the glightbox.js main file.

Working on a patch.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain pcambra Asturies

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024