1
如何調整視頻的父母div的大小?父容器調整大小時調整視頻的大小
<div id="resizable" class="resizable" style="width:640px; height:390px; border:solid gray 1px" class="ui-widget-content">
<object class="video" style="height: 390px; width: 640px;">
<param name="movie" value="http://www.youtube.com/v/u1zgFlCw8Aw?version=3">
<param name="allowFullScreen" value="true">
<param name="allowScriptAccess" value="always">
<embed class="video" src="http://www.youtube.com/v/u1zgFlCw8Aw?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390">
</object>
</div>
$("#resizable").resizable();
http://deadwoodfilms.com/jquery/gallery/video.html
感謝此鏈接 – Edesa 2012-04-28 03:06:10