Hi, I'm using iubenda plugin for wordpress, but it blocks video embed from Vimeo, either accepting or refusing cookies.
Here is an example, if I disable the plugin the video shows correctly beneath the title.
https://graficaaldente.it/portfolio/oh-my-dots/
in staging area without cookie plugin works fine
http://fabio.graficaaldente.it/portfolio/oh-my-dots/
Please note is a link emberd, not an iframe.
What I need to achieve is the possibility for the user to refuse cookies and still watch the video, is it possible?
Thanks
Fabio
Importato da support.iubenda.com (topic #42000302349) ·
4985 visualizzazioni
Hi,
To ensure that the script/iframe isn't being blocked, consider the following, probably you're using automatic blocking or native blocking, or both in the same time:
1. **Automatic Blocking:** Enabled through iubenda's dashboard. For more details, visit [iubenda's guide on automatic blocking](https://www.iubenda.com/en/help/133036-prior-blocking-of-cookies-automatic-blocking-auto-blocking).
2. **Native Blocking of the Plugin:** Managed via the WordPress plugin settings. You can find more information in the [WordPress plugin installation guide](https://www.iubenda.com/en/help/1215-cookie-solution-wordpress-plugin-installation-guide).
If you're using method 1, you can whitelist or exclude a script from autoblocking by adding the `data-cmp-ab="2"` attribute to it.
If this doesn’t resolve the issue, Vimeo might be blocked by native blocking. In this case, you have two options:
- Disable native blocking in the WordPress plugin settings.
- Keep native blocking enabled but exclude a script by wrapping it between the following tags (see example):
<!--IUB-COOKIE-BLOCK-SKIP-START-->
<script type=“text/javascript”>…</script> VIMEO SCRIPT/IFRAME
<!–IUB-COOKIE-BLOCK-SKIP-END–>
Hope this helps!