troubleshooting Question

jwplayer onIdle function

Avatar of Refael
RefaelFlag for United States of America asked on
2 Comments1 Solution1239 ViewsLast Modified:

Hello experts,

i am using the jwplayer in html5 for mobile devices.
i need to popup a window when the user click pause (onIdle).

i have this piece of code as an alert example on-idle
'onIdle': function(event) {
alert('the new volume is: '+event.volume);
i need to replace the alert example with a window popup.
the popup is basically an html form for the user to fill in.
any script to popup a window will be great....

only if its possible, i am using a popup script on another page and it will be great if i can integrate it
this popup script i am using in the document.ready JS
 $("#click").bind('click', function(){
      $("#div_to_popup").bPopup({modal:false, loadUrl:'formmobile.php'});       
      return false

if there is a way to integrate it to the "'onIdle': function(event) {" great! if not, again any popup window where i can put HTML in would be great too.

thanks guys!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros