Title: Adding onclick events
Last modified: August 31, 2016

---

# Adding onclick events

 *  [Jaytarts](https://wordpress.org/support/users/jaytarts/)
 * (@jaytarts)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adding-onclick-events/)
 * Hi there,
 * When I try to add an “onClick” event which would allow the youtube playlist to
   load only when a button is pressed, it crashes the page and gives me an error
   specifically for this plugin.
 * Do you mind helping out? I am not sure what is causing the error.
 * [https://wordpress.org/plugins/youtube-embed-plus/](https://wordpress.org/plugins/youtube-embed-plus/)

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

 *  Thread Starter [Jaytarts](https://wordpress.org/support/users/jaytarts/)
 * (@jaytarts)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adding-onclick-events/#post-7030002)
 * Still have not gotten an answer from you, I saw you replied to other issues but
   this one.
 * Please let me know.
 * thank you
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adding-onclick-events/#post-7030042)
 * Hi,
 * Without seeing the website, there’s no way to tell where exactly the Javascript
   conflict occurs with your code.
 * -EmbedPlus Team

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

The topic ‘Adding onclick events’ is closed to new replies.

 * ![](https://ps.w.org/youtube-embed-plus/assets/icon-256x256.png?rev=2165403)
 * [Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades](https://wordpress.org/plugins/youtube-embed-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-embed-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-embed-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-embed-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-embed-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-embed-plus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [embedplus](https://wordpress.org/support/users/embedplus/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/adding-onclick-events/#post-7030042)
 * Status: not resolved