Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

"END" command for multiple players

2 replies [Last post]

I have a site that uses frames (please don't yell at me). I have the JW audio player in the outer frame, and it starts its playlist as soon as the frame loads. I also have a JW flash video player that is triggered by a link in the inner frame. The player launches in a popup window.

I'd like to set things up so that when you play the video in the popup window, it sends a command to the audio player in the page beneath, telling it to stop playing. Is this possible? If so, what code do I need to insert to make this happen?

Does anyone know how to include a 'stop player' command in a popup window that would stop any JW player that was currently active?

You'd need to reference the other frame and find the player div within that frame. Look for the section with parent.frames in http://www.howtocreate.co.uk/tutorials/javascript/browserinspecific.