Problem/Motivation
Currently, when swapping the skin to "minimal", not only the skin changes, but also the javascript file.
This isn't needed, as the default.js files also contain the minimal skin. The minimal.js library defintions could stay, but should be commented appropriately.
Steps to reproduce
Proposed resolution
[10.x] Setting "skin" to minimal shouldn't swap the js library
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork videojs-3619649
Show commands
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 #3
grevil commentedI actually removed the minimal js libraries. I think they will just confuse us.
Please review!
Comment #4
grevil commentedComment #6
grevil commentedComment #8
thomas.frobieterAs I have already said, I'm still not sure whether we should remove the library definition entirely.
There might be developers who install the module just to have the library available, and I don't see any reason right now why we shouldn't make the minimal build available. After all, it doesn't involve any extra work for future module or library updates, does it?
I'm only talking about libraries.yml; the rest is fine.
Maybe @anybody has a strong opinion about that?
Comment #9
grevil commentedI just don't like defining a libraries.yml entry for a file we don't use at all. If someone wants to use the minimal js file, he can simply alter the video.js library entries. But I am not even sure, if everything the module provides even works with that library.
Of course someone could use the minimal library standalone, via the (now missing) libraries.yml. But I wouldn't know why.
Comment #10
grevil commented