support home

Back to website
Welcome
Login  Sign up
Solved

WP plugin is blocking video embed from Vimeo

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


  • Ciao Fabio, sono mesi che ho lo stesso problema con il codice per embeddare i video. Purtroppo non mi hanno ancora dato una risposta.


    Tu hai risolto?


    1 person likes this
  • Ciao Eugenio, ho risolto includendo nel codice di emebd di Vimeo il parametro Do not track, che disattiva il tracciamento da parte di Vimeo.

    Così facendo su Iubenda puoi escludere Vimeo dalla lista delle applicazioni che raccolgono dati personali, e il video viene visualizzato anche se rifiuti i cookies.

    https://fabiogalessi.top/portfolio/oh-my-dots/


    --- ENG
    I actually solved the problem adding "do not track" parameter in Vimeo embed, then excluding Vimeo form the tracking services list in Iubenda privacy policy.
    Now the video embed is correctly loading even if the user refuses to accept cookies.
    https://fabiogalessi.top/portfolio/oh-my-dots/



    Vimeo parameters guide:

    https://vimeo.zendesk.com/hc/en-us/articles/360001494447-Player-parameters-overview#h_01FNYA7QTNCMWXY3GV2RF8QP5A


    1 person likes this
  • Urca la miseria io avrà almeno 100 video embeddati da viemo, dovrei entrare in ogni singolo codice e inserire quel parametro.


    Vado a piangere.

  • Non ho capito il passaggio della registrazione predefinita

  • Hey Henry,  I solved as explained above:

    I actually solved the problem adding "do not track" parameter in Vimeo embed, then excluding Vimeo form the tracking services list in Iubenda privacy policy.
    Now the video embed is correctly loading even if the user refuses to accept cookies.


    Vimeo parameters guide:

    https://vimeo.zendesk.com/hc/en-us/articles/360001494447-Player-parameters-overview#h_01FNYA7QTNCMWXY3GV2RF8QP5A

  • Hello Fabio,


    Thanks for the solution. Only adding a "do not track" parameter made the solution.


    Thanks.                                  

  • Same problem, I still haven't solved it

  • Hi

    I was also facing this same issue with the Fashion Shoes site. I just used above mention solution and it worked.


    Thanks

  • Yes, it is possible to allow users to refuse cookies and still watch the video embedded from Vimeo. Ensure that the plugin is properly configured to allow necessary cookies for the Vimeo video to function. In the plugin settings, you should have the option to select specific cookies or categories of cookies that are considered necessary for the video to play.

     

  • How can we display a placeholder image or even a button to give consent for loading automatically blocked content like Vimeo or YouTube embeds? This can easily be achieved with other cookie/content blockers.

  • Dear Ahmad,

    Thank you for the detailed reply. Following your information, I understand that iubenda doesn't support any manual opt-ins for certain services as a service overlay (instead of the cookie solution itself). Is there any JavaScript hook/function we could use that unblocks the automatically blocked embeds (e.g. Vimeo videos)? We couldn't find any documentation on this. We found that adding a button/link with the "iubenda-cs-preferences-link" class to open the cookie preferences doesn't work as well since the Javascript used to add the button if the embed was blocked will render after iubenda`s Javascript and thus no functionality/hook of iubenda is triggered on click.


    We don't want to introduce more third-party code/plugins to WordPress or alter the Gutenberg default blocks too much. A native solution by iubenda (like it is provided by many competitors solutions) is highly preferable.


    Best

    Alex

  • Hi how to do this



  • 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!