Usercentrics Cookie Consent Banner Not Displayed for YouTube Videos in Glightbox #495
JS-Media-Creation
started this conversation in
General
Replies: 2 comments
-
I've never user Usercentrics and not sure someone will invest their time investigating and doing tests but I'll keep the discussion open in case someone knows a workaround or already have a solution. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using Glightbox to embed YouTube videos on my website. Typically, when a user has previously declined the necessary cookies for YouTube, a cookie consent banner from Usercentrics appears, allowing the user to consent and watch the video.
However, I noticed that when embedding YouTube videos within a Glightbox, the Usercentrics cookie consent banner is not displayed. Instead, the video fails to load and a loading spinner appears indefinitely. This issue prevents users from granting the required cookie permissions to watch the video.
I am unsure whether this issue is related to Glightbox or if it stems from the Usercentrics cookie consent tool. It is worth noting that the banner is embedded via Shadow Root, which makes direct manipulation challenging.
Could you please investigate this issue and consider adding support for displaying the Usercentrics cookie consent banner when a YouTube video is embedded in a Glightbox? This would ensure that users are prompted to give the necessary permissions and can view the video without any issues.
Thank you for your attention to this matter.
Steps to Reproduce:
Expected Behavior:
The Usercentrics cookie consent banner should be displayed, allowing users to consent to the necessary cookies and watch the video.
Actual Behavior:
The video fails to load, and a loading spinner is displayed indefinitely.
Environment:
Example:
Thank you for your help!
Best regards,
Jonathan
Beta Was this translation helpful? Give feedback.
All reactions