tags:

views:

8

answers:

0

I'm using JQuery to create a button that (when clicked), removes a flash video from the page.

Note: Unfortunately, I can't simply use hide(). I must remove() because hiding doesn't stop the video in ie8 and the sound continues to play.

After the video is removed I would like it to reappear when a "show video" button is clicked.

Note: I tried to accomplish this with clone() and detach()... The video appears but does not play and has missing controls in IE only. Other browsers work fine.

The video is initially added to the page using the AC_FL_RunContent() function.

The issue is that when I try to add the "removed" video back to the page by calling AC_FL_RunContent( 'codebase'... The page refreshes and shows only the video. Everything else has disappeared.

How can I prevent that from happening?