TwelvestoneFlash

Stop a Video Player in an AJAX Modal Popup Extender


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
elad
 
2011-01-11

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,

persist
 
2011-01-11

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?

elad
 
2011-01-11

I've got the AS code. It's a custom built Flash Video player.

persist
 
2011-01-11

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.

http://kb2.adobe.com/cps/164/tn_16417.html

persist
 
2011-01-11

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

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

Stop a Video Player in an AJAX Modal Popup Extender