Bug Tracker

Modify

Ticket #6619 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 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 3 years ago by addyosmani

  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to invalid

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

Closing ticket.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.