Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6619 closed bug (invalid)

jquery animate not working with flash object

Reported by: zayatzz Owned by:
Priority: undecided Milestone: 1.4.3
Component: manipulation Version: 1.4.2
Keywords: animate Cc:
Blocked by: Blocking:

Description

i have simple code which animates height of flash object. it works just fine with jquery 1.3.2, but is not working with jquery1.4.2.

code: <script type="text/javascript" src="http://path/to/js/jquery-1.4.2.min.js"></script> <script type="text/javascript">

function openMediaPlayer() {

$('#flashMovie').animate({'height':'333px'});

} function closeMediaPlayer() {

$('#flashMovie').animate({'height':'80px'});

} jQuery(function($){

$('#videoholder').bind('mouseenter', function(){

openMediaPlayer();

}); $('#videoholder').bind('mouseleave', function(){

closeMediaPlayer();

});

});

</script> <div id="videoholder" style="height:80px;width:412px;"> <object width="412" height="80" type="application/x-shockwave-flash" id="flashMovie" name="flashMovie" style="height: 80px;" data="http://path/to/Player.swf"><param name="menu" value="false"><param name="bgcolor" value="#666666"><param name="allowFullscreen" value="true"><param name="flashvars" value="playlistURL=http://path/to/Player/data/playlist.xml"></object> </div>

More info here: http://stackoverflow.com/questions/2949478/jquery-script-that-used-to-work-is-not-working-with-jquery-1-4-2

Change History (2)

comment:1 Changed 13 years ago by zayatzz

hmmph. guess i should have waited with posting this. As it was explained later at stackoverflow - its not abug after all.

comment:2 Changed 13 years ago by addyosmani

Priority: undecided
Resolution: invalid
Status: newclosed

Later confirmed by bug submitter as not being a jQuery core bug. StackOverflow discussion assists in resolution of the above.

Closing ticket.

Note: See TracTickets for help on using tickets.