Skip to main content

Bug Tracker

Side navigation

#6619 closed bug (invalid)

Opened June 01, 2010 12:30PM UTC

Closed September 30, 2010 10:11PM UTC

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

Attachments (0)
Change History (2)

Changed June 02, 2010 05:58AM UTC by zayatzz comment:1

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

Changed September 30, 2010 10:11PM UTC by addyosmani comment:2

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.