Skip to main content

flash object not displaying in firefox



When i first load the page the flash container div is set to display:none, i then apply some jQuery to .fadeIn() and set the div heigth and width size. Fine. But within this div i embed the flash object this way:







<object width="692" height="389">

<param name="allowfullscreen" value="true" />

<param name="allowscriptaccess" value="always" />

<param name="wmode" value="transparent">

<param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=<?php the_field('vimeo'); ?>&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" />

<embed src="http://vimeo.com/moogaloop.swf?clip_id=<?php the_field('vimeo'); ?>&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="692" height="389">

</embed>

</object>







Where:







<?php the_field('vimeo'); ?>







is a generated Id via php.





Basically the issue is that I need to use the old flash object only for firefox as otherwise by using the iframe method form vimeo I'd get random black screen for the video, the solution is to use the flash object, only for firefox but for some reasons I don't get the video displayed while i can see the object in the DOM.





Thanks


Comments

  1. "I think it's because jQuery is not equipped to manipulate opacity of a third-party multimedia object, even though it is embedded into standard HTML markup.

    Your best bet could be just positioning an invisible DIV with the same dimensions on top of it and then just fading that in/out (but this is just pure speculation)."

    from:

    Why does JQuery not fade a flash object properly?

    ReplyDelete

Post a Comment

Popular posts from this blog

[韓日関係] 首相含む大幅な内閣改造の可能性…早ければ来月10日ごろ=韓国

div not scrolling properly with slimScroll plugin

I am using the slimScroll plugin for jQuery by Piotr Rochala Which is a great plugin for nice scrollbars on most browsers but I am stuck because I am using it for a chat box and whenever the user appends new text to the boxit does scroll using the .scrollTop() method however the plugin's scrollbar doesnt scroll with it and when the user wants to look though the chat history it will start scrolling from near the top. I have made a quick demo of my situation http://jsfiddle.net/DY9CT/2/ Does anyone know how to solve this problem?

Why does this javascript based printing cause Safari to refresh the page?

The page I am working on has a javascript function executed to print parts of the page. For some reason, printing in Safari, causes the window to somehow update. I say somehow, because it does not really refresh as in reload the page, but rather it starts the "rendering" of the page from start, i.e. scroll to top, flash animations start from 0, and so forth. The effect is reproduced by this fiddle: http://jsfiddle.net/fYmnB/ Clicking the print button and finishing or cancelling a print in Safari causes the screen to "go white" for a sec, which in my real website manifests itself as something "like" a reload. While running print button with, let's say, Firefox, just opens and closes the print dialogue without affecting the fiddle page in any way. Is there something with my way of calling the browsers print method that causes this, or how can it be explained - and preferably, avoided? P.S.: On my real site the same occurs with Chrome. In the ex