Ticket #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: | |
| 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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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