I've got an edge-animate (4.0 version) inside of this iframe, in a div collection, and what I need is to pause/stop the sound of the iframe when I hide (display:none
) it, and resume/play again when I show it (display:inline
).
Now I've got something like this:
if(!$('#slide_'+(slide_current-1)).find('iframe').hasClass('edgeanimate'))//
{
//Do nothing.
}
else
{
//Pause/Stop the sound, please
}
The deal is that I can't touch the original javascript that comes out with the edge-animate export format; I need to stop the sound with an external JS script... Any ideas? Please help.
Thank you so much.