• Resolved Brun?o

    (@brunosousa)


    Hey, first of all, thanks for this great plugin.

    i’m trying to insert a youtube list that launches the video on the Popup mode as per plugin options. The problem is that I’m getting a javascript error on console:

    VM1721:1 Uncaught TypeError: b.hook is not a function
        at Object.render (eval at <anonymous> (frontend.min.js?ver=1.3.3:1), <anonymous>:1:5207)
        at Object.open (eval at <anonymous> (frontend.min.js?ver=1.3.3:1), <anonymous>:1:5495)
        at Object.play (eval at <anonymous> (frontend.min.js?ver=1.3.3:1), <anonymous>:1:3519)
        at HTMLAnchorElement.events (eval at <anonymous> (frontend.min.js?ver=1.3.3:1), <anonymous>:1:11426)
        at HTMLAnchorElement.dispatch (jquery.js?ver=1.12.4:3)
        at HTMLAnchorElement.r.handle (jquery.js?ver=1.12.4:3)

    Could you please give me any guidance in how to solve this issue?
    Thanks in advance.

    • This topic was modified 6 years, 3 months ago by Brun?o.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Brun?o

    (@brunosousa)

    Hey… I Found the issue and did a temporary fix.

    On assets/js/frontend.js file, line 287:

    var elm = jQuery(html_a.join('')).appendTo('body');

    I did replace jQuery by $ sign and it worked out:

    var elm = $(html_a.join('')).appendTo('body');

    I hope it can help someone.

    • This reply was modified 6 years, 3 months ago by Brun?o.
    Plugin Author yotuwp

    (@yotuwp)

    Hi Bruno,

    Many thank you for your report.
    Maybe there is a conflict with another plugin, that why my plugin does not work well on your site.

    I will check then update the plugin.

    Many thank you!

    Best regards,

    Anthony

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t launch Popup Modal – Javascript Error’ is closed to new replies.