• Resolved Henny8

    (@henny8)


    Hi,

    As soon as I activate Compianz, the plug-in: Embed Plus Plugin for YouTube Pro, with YouTube Gallery, Channel, Playlist, Live Stream, Facade
    is not functioning properly anymore.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Aert Hulsebos

    (@aahulsebos)

    Goedenavond @henny8,

    Can you disable the YouTube integration, under Integrations -> Services?

    I will have a look at the plugin,

    groet Aert

    Thread Starter Henny8

    (@henny8)

    Hello Aert,

    The integration is now disabled.

    Henny

    Hi
    I have an issue maybe related to this.
    Complianz 6.0. Whit cookies accepted. When youtube integration is enabled and youtube embed (the core embed, not a plugin) is in the page, it throws a js error in console.
    The eror is related to a split over a null value ( Uncaught TypeError: Cannot read properties of null (reading ‘split’)). The file is complianz/cookiebanner/js/complians.min.js, in the unminifyed version of the file is the line 1770 estatement var queryString = sPageURL.split('?');
    The cookie banner is not displayed and the video is changed to a static image.
    The youtube integration is disbaled now, but I can enable it if you need to test is.
    The html code for the iframe becomes:
    <iframe data-placeholder-image="EDITED/complianz/placeholders/youtube0fEmJ3RxX4s-hqdefault.jpg" data-category="marketing" data-service="youtube" class="cmplz-placeholder-element cmplz-iframe cmplz-iframe-styles cmplz-video cmplz-processed lazyloaded cmplz-activated" data-src-cmplz="https://www.youtube.com/embed/EDITED?feature=oembed" title="EDITED" width="1300" height="731" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" data-src="about:blank"></iframe>

    • This reply was modified 3 years, 1 month ago by lofesa.
    • This reply was modified 3 years, 1 month ago by lofesa.
    • This reply was modified 3 years, 1 month ago by lofesa.

    Hi again.
    I found it.
    The issue comes when the iframe is lazyloaded. Whit the plugin we use to lazyload images and iframes, no src attribute is present, there is a data-src with the video url, and the #document element is empty.
    When the iframe is near to be visible, the iframe still no have src element but #document is populated.

    The plugin we use uses aFarcas lazysizes script

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @henny8,

    Ik heb even gekeken en toevallig heeft deze gebruiker iets genoemnd, namelijk een javascript dat ik ook tegenkom in de plugin: wp-retina-2x-pro

    Zou je deze kunnen deactiveren en zien of dit helpt?

    groet Aert

    Thread Starter Henny8

    (@henny8)

    Goedemiddag Aert,

    Het deactiveren van deze plugin en alle overige van MEOW apps, helpen niet.
    Wat wel helpt is als ik de integration van YouTube NIET inschakel in het menu settings. Dan werkt de Embed Plus Plugin for YouTube Pro wel naar behoren.

    Groeten

    Henny

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hoi @henny8,

    Ik ben er nu achter dat we deze Embed plugin hebben geskipped, omdat ze eigen GDPR implementatie hebben, onder hun eigen instellingen.

    Misschien kan je hier naar kijken, daarop kan je de YouTube integratie in Complianz uizetten.

    regards Aert

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Complianz causes Embed for YouTube error’ is closed to new replies.