External cdn script gets blocked, ignoring "block_unknown" completely

Created on 28 April 2025, 1 day ago

Problem/Motivation

We recently ran into this issue, when using Vidstack Player . This module uses the remote script https://cdn.vidstack.io/player, but for some reason it was still blocked even after disabling "Block unknown external resources". We also tried to create a new Vidstack "Klaro! service" using "vidstack.io", "cdn.vidstack.io" and "https://vidstack.io" as the Sources to allow, but even after cache clear and accepting all services, the cdn script was still blocked.

Steps to reproduce

  • Enable Klaro and its setting "Block unknown external resources"
  • Require drupal/vidstack_player, enable it and use it as a formatter on the media video type, video field.
  • Disable "Block unknown external resources" and create a Klaro! service with the sources stated above.
  • Flush all caches and reload the page containing a vidstack formatted video.
  • Accept all klaro services (cookies) and see that the cdn script is still blocked by klaro.

Proposed resolution

The script shouldn't be blocked.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany Grevil

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