Title: Can&#8217;t launch Popup Modal &#8211; Javascript Error
Last modified: August 1, 2018

---

# Can’t launch Popup Modal – Javascript Error

 *  Resolved [BrunoSousa](https://wordpress.org/support/users/brunosousa/)
 * (@brunosousa)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cant-launch-popup-modal-javascript-error/)
 * 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 7 years, 10 months ago by [BrunoSousa](https://wordpress.org/support/users/brunosousa/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-launch-popup-modal-javascript-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [BrunoSousa](https://wordpress.org/support/users/brunosousa/)
 * (@brunosousa)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cant-launch-popup-modal-javascript-error/#post-10548483)
 * 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 7 years, 10 months ago by [BrunoSousa](https://wordpress.org/support/users/brunosousa/).
 *  Plugin Author [yotuwp](https://wordpress.org/support/users/yotuwp/)
 * (@yotuwp)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cant-launch-popup-modal-javascript-error/#post-10551615)
 * 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.

 * ![](https://ps.w.org/yotuwp-easy-youtube-embed/assets/icon-256x256.png?rev=2869253)
 * [Video Gallery - YouTube Playlist, Channel Gallery by YotuWP](https://wordpress.org/plugins/yotuwp-easy-youtube-embed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yotuwp-easy-youtube-embed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yotuwp-easy-youtube-embed/)
 * [Active Topics](https://wordpress.org/support/plugin/yotuwp-easy-youtube-embed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yotuwp-easy-youtube-embed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yotuwp-easy-youtube-embed/reviews/)

## Tags

 * [playlist](https://wordpress.org/support/topic-tag/playlist/)
 * [popup](https://wordpress.org/support/topic-tag/popup/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)

 * 2 replies
 * 2 participants
 * Last reply from: [yotuwp](https://wordpress.org/support/users/yotuwp/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/cant-launch-popup-modal-javascript-error/#post-10551615)
 * Status: resolved