Improve libraries dependencies

Created on 3 February 2025, 6 months ago

Problem/Motivation

Since drupal 10.4 the order of the libraries is calculated according to the dependencies, it cause that in some conditions the youtube iframes are processed after oembed lazyload does its stuff. Making the videos not playable once the cookies were accepted.

Proposed resolution

Add the oembed_lazyload libray dependency dynamically when the module is enabled.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇪🇸Spain frouco

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