I know it has been discussed a lot a times but I can’t find a way to make this work :
I launch flowplayer (iframe) through a modal window. When the modal is closed, the sound of the video can still be heard.
This modal has an onclose event. The iframe is on the same domain as the parent.
The player is launched with this code :
player = $f(“player”, “flowplayer.swf”).ipad();
It is launched via a variable because at the time I did this it was the only solution to make the .ipad() work.
Whatever I write in the close function , (the flowplayer doc says $f().stop(); but it’s the same with player.stop(); ) I get “$f() is not defined” or message telling the player is not defined.
I really don’t know what to do, some help would be really appreciated.
Thanks a lot !
You need to do two things.
Trigger events in iframe's parent window
This is close to what you need.