backdrop-contrib / gdpr_cookies

Control cookies from all sources with tarteaucitron.js to meet GDPR.
GNU General Public License v2.0
0 stars 3 forks source link

Doesn't work with Vimeo #22

Closed olafgrabienski closed 1 year ago

olafgrabienski commented 1 year ago

I've added and enabled the Vimeo vanisher on my site. When a visitor allows Vimeo (either using the Personalize modal or clicking the Allow button on the video placeholder), there appears the following message on the video placeholder:

Oops! The embed code for this video is not valid. *

I guess, there is an issue how Backdrop handles the embed code. Unfortunately, it's above my skills to debug this in detail.


*: The message explained by Vimeo:

This error can appear in the following scenarios:

  1. The embed code you’ve entered into your webpage could be malformed. Make sure you are copying and pasting the exact code that appears in your embed settings page or share window. Learn more here.

  2. If the error is only occurring in Internet Explorer (...)

olafgrabienski commented 1 year ago

After thinking again about possible reasons for this issue, I found out that the Vimeo vanisher works generally fine, e.g. when I embed the Vimeo iframe a long text field, but it doesn't work when I use https://github.com/backdrop-contrib/video_embed_field. So, I'll post an report there and close this one.