I can imagine that animating embedded flash objects would be a tricky business, though I haven't tried it myself.

You might want to try positioning a div on top of it, using higher z- index and making sure that the flash object has wmode="transparent". Start with the div hidden, and then fadeIn() the div, switch the video, and fadeOut() the div, in that order.


--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Nov 18, 2007, at 11:35 AM, spherop wrote:



i have a div that contains the html of a youtube video embedcode.
when a user clicks on a thumbnail of a different video, content is retrieved
by .getJSON, and then .html is used to load it into the same div.

when the new video embed is loaded, i'd like to have a really clean
transition. currently, the div goes white, then the new video shows up. is
it possible to dissolve between the 2 videos visually?

maybe i need 2 divs?

anyone have any tips here? are there particular jquery functions or a plugin
that would make this happen?
--
View this message in context: http://www.nabble.com/how-to-animate- div-to-dissolve-to-new-html-tf4830842s27240.html#a13820802 Sent from the jQuery General Discussion mailing list archive at Nabble.com.


Reply via email to