Closed (fixed)
Project:
Lite Youtube
Version:
1.0.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
6 Jun 2025 at 11:39 UTC
Updated:
16 Jun 2025 at 13:12 UTC
Jump to comment: Most recent
The module currently uses version 1.5.0 of the `lite-youtube` library, while the latest available version is 1.8.2.
It would be better to implement a new strategy for managing the library version dependency. A configuration form should be created to allow setting the library version and an alternative CDN URL.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jleon1110 commentedConfiguration forms could be used to implement this solution and directly assign the library URL.
Comment #4
ruby232 commented@jleon1110
Thanks for your MR. I’ve reviewed the code and left a few comments.
I believe this MR is missing two important cases:
You can add a config/install/lite_youtube.settings.yml file with the default configuration. This file will be loaded when the module is installed and will set the initial values.
Additionally, you need to create a hook update to update the configuration for sites where the module is already installed.
Comment #5
ruby232 commentedComment #6
ruby232 commentedComment #7
ruby232 commented