I use Amazing Audio Player
to play a background music in my HTML5 webpage which contains a flash menu. When an element from flash menu is clicked then an HTML5Lightbox
pops up and plays a local mp4 video.
Everything works, only that when the Lightbox pops up and the mp4 video starts, I would need the Amazing Audio Player to pause and when the Lightbox is closed then the Amazing Audio Player to continue.
I found Amazing Audio Player API Events
, but I do not know how to integrate that with HTML5 Lightbox when pops up or is closed.
Where shall I embed the jQuery(document).ready(fun
I am OK if you suggest another Lightbox or another audio player if you provide example.