• Resolved xwolf

    (@xwolf)


    In current Version 1.3.0 i got this Error on clicking on the you Tube Video placeholder:
    Uncaught SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at overlayClick (embed-privacy.js?ver=1616436803:158)
    at HTMLDivElement.<anonymous> (embed-privacy.js?ver=1616436803:17)

    This happens only on the first time in FF and Chrome. In a second try after reload it works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Hi there!

    In your case, Embed Privacy receives no information about the embed, which is very curious. Which editor are you using and how did you implement the YouTube embed? Did you use the embed code below a YouTube video or did you just paste the URL into your post?

    Thread Starter xwolf

    (@xwolf)

    Hi,

    i pasted the URL direct into the content without shortcode.

    Behavior:
    On click on the youtube placeholder, it vanished:
    The website displays the no video content nor placeholder.

    On digging deeper I found the reason in another plugin:
    The plugin “EU Cookie Law” uses a default option to block embedded scripts and code as long its cookie notice wasnt accepted.
    If I remove this option OR click the accept-Button, Embed Privacy works as intended.

    Thank you for you answer and sorry for the wrong error. I mark this issue als resolved.

    Ciao,
    WOlfgang

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Hi Wolfgang,

    glad, that it’s working now!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on clicking on YouTupe placeholder’ is closed to new replies.