- Issue created by @amstercad
This module introduces a standard Drupal single directory component called player at components/player
. The javascript has been written into components/player/player.js
and seems to work well, however this is only possible when player.js
is specifically listed in player.component.yml
as in the example below. This should not be necessary, however removing the line of code from player.component.yml
breaks the custom javascript functionality because the file isn't loaded like a Drupal single directory component javascript file should.
libraryOverrides:
js:
./player.js: {}
Removing this line of code and clearing the cache breaks the custom javascript functionality of the component.
The player.js component should work without having to be listed under libraryOverrides.
Active
2.2
Code