I'm trying desperately to figure out a problem using animate, iframes, and jmedia. It goes something like this:
I have a piece of media (youtube video) displaying inside a definition list:
<dl id="myDL">
   <dt id="myDT">
<embed id="myVideo" width="240" height="180" bgcolor="#000000" autoplay="1" pluginspage="http://www.macromedia.com/go/getflashplayer"; src="http://www.youtube.com/v/x2wgJdMoSDg&autoplay=1"; type="application/x-shockwave-flash"/>
   </dt>
</dl>

I'm trying to call animate on "#myVideo" to resize it when the user clicks a button. When the page is viewed normally, it works great, but when the page is viewed within an iframe the height doesn't seem to be change. The animate code is: $("#myVideo").animate({"width": "60px", "height": "45px"}, {duration: "slow"});

To make things a little more complicated, I'm using jmedia to embed the video inside "#myDT".

Has anyone else grappled with this issue? It seems that there were a couple of questions in the past, but no solutions.

Any help would be much appreciated!

Thanks!

Jason

Reply via email to