• Resolved MrMattEastwood

    (@mrmatteastwood)


    Hello, Complianz team,

    First of all, congratulations for version 7, I think the UI is fantastic and the work you’ve done shows.

    I set up my cookie banner on https://123-scancenter.de/ and noticed that even though during the wizard, I checked YouTube in Consent > Services, the embedded YouTube video on the front page still loads.

    I also double-checked YouTube in Integrations > Services and enabled the placeholder, and in Integrations > Script Center > Block a script, I made an entry for YouTube using the URLs, https://www.youtube.com and https://youtube.com for good measure. It still loads.

    What am I overlooking?

    Thanks! – Matt.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @mrmatteastwood,

    It looks like a YouTube implementation from a specific plugin or theme, which only loads the YouTube content after you’ve clicked the play button; so the YouTube cookies are only set after clicking Play.

    Therefore Complianz doesn’t see any YouTube content that it has to block prior to consent either, as this embedded YouTube content isn’t there yet. One thing you could do is to override the “Play” button with a blocked content notice similar to the one from Complianz, to indicate that clicking the notice will result in the YouTube service being loaded.

    The below CSS will do that, you can add it under Appearance -> Customize -> Additional CSS to get this result (screenshot).

    .uabb-video__play-icon.uabb-animation-float:after {
      content: "Click to accept YouTube cookies and enable this content"; 
      width: 110px !important;
      position: absolute !important;
      width: 100%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-width: 300px;
      font-size: 14px;
      padding: 10px;
      background-color: rgba(0, 0, 0, .9);
      color: #fff;
      text-align: center;
      z-index: 98;
      line-height: 23px;
    }

    Kind regards, Jarno

    Thread Starter MrMattEastwood

    (@mrmatteastwood)

    Thanks! Something was already telling me this might have to do with the builder module. I tried your CSS to no avail, so I just went ahead and used the iframe supplied by YouTube’s Share feature instead.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘YouTube embed not blocked’ is closed to new replies.