Hello all:
Happy New Year. The title says it all.
I've got an HTML 5 video player running in an AJAX Modal Popup Extender. When the flash video player is called instead of the other formats, I can't get it to stop playing when the extender window is closed.
I'm sure this is a simple js hack but i can't seem to figure it out so if anyone out there has encountered this or has a solution id appreciate hearing back from you.
Regards,
It's going to depend on the swf playing the video.
Do you have action script code or are you using a free flash video player?
I've got the AS code. It's a custom built Flash Video player.
I would use Flashvars then with a simple boolean to describe the start state of the video and intercept the var with actionscript to call stop or play on the video code you have implemented.
Oh I just realized you need to call this after init in your case. I would use externalInterface. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/ExternalInterface.html