We help IT Professionals succeed at work.

What approach will handle disabling the Flash video?

Medium Priority
Last Modified: 2013-11-19
How do you stop Flash movies from playing when you are hiding showing multiple on one page? I'm doing a bunch of Modal windows, for a user, and some can have a large and small flash movie. I'm using a javascript function to invoke the swfObject method of embedding. I'm using jQuery to handle the click event which will load the new movie. However, clicking off the modal window or click a different size link will load a new flash movie or close the window. I'm looking for a method that will unload , so to speak, the flash movie on a click event or something.
Watch Question

Jason C. LevineDon't talk to me.

Hi Andrea_Jennison,

Have you looked into the JW Media Player?  It supports stopping playback when focus is lost.


Unfortunately I don't have a choice in the player. My organization runs Flash Media Server. I therefore need a solution for the flash player. We currently are using a custom flash player to play the flash movies in.
Jason C. LevineDon't talk to me.

The JW Media Player would replace the custom one.  Are you sure that solution is out of the window?


I am currently working to investigate using an alternate player, but is there another method for unloading a flash object?
Don't talk to me.
>> but is there another method for unloading a flash object?

The Flash object should be able to accept commands passed to it via flashvars.  The idea is to stop the player on lost focus but the details on how to do that are beyond me (which is why I use a player that supports it out of the box).

Good luck.  Hopefully the mods will find someone else to assist.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.