I have an instance of Jplayer (HTML5 audio player for jQuery) and an instance of JW Player (HTML5 video player) on the home page of a website I’m jazzing up for a friend: http://www.creativetuition.co.uk/cgt/index.php
I have not yet been able (with my limited JavaScript knowledge) to successfully get the audio player to pause when the video is played, and preferably vice versa.
I presume I have to use some sort of event ‘listener’, but really I am struggling and would really appreciate any help you guys can offer. If you want me to post code just say which bits and I will happily oblige.
Thanks
I used the jplayer and jwplayer documentation to identify what I needed to do. This is the script that I used and put at the bottom of the appropriate page.