- Issue created by @jacobbell84
Currently this module is initializing its settings like this in the gdpr_video.module file:
$page['#attached']['drupalSettings'] = [ ... ];
The problem is if this module loads after another module that's also using Drupal settings, it will wipe out that module's settings. In my case it was breaking the ajax_loader module.
Easiest fix is to just write all this module's settings under a "gdprVideo" key in the settings so that it doesn't affect any other modules. That's what the attached patch does.
Needs review
1.1
Code