Flash "Play" button doesn't play video unless you hit rewind or fast forward

Posted by Jack Marchetti on Stack Overflow See other posts from Stack Overflow or by Jack Marchetti
Published on 2010-05-06T18:55:46Z Indexed on 2010/05/06 18:58 UTC
Read the original article Hit count: 410

Filed under:
|
|
|

So I had an IE issue with flash videos continuing to play even when their DIV's display property was set to none ( $('flashdiv').hide(); )

So I was able to solve this problem, by using .detach() and then reinserting the div. This worked great, however the problem now is that the "play" button doesn't work. However, if I hit rewind, or fast forward, it plays, and the play/stop button work fine.

The way I'm reinserting the divs is like this:

var divid = $('#flashdiv').clone('true');

and then to reinsert:

$('#test').html(divid);

Any idea why the play button would not work?

© Stack Overflow or respective owner

Related posts about flash

Related posts about jQuery