我有下面的代碼,主要是來自蘋果公司的QT指南,這是我用來顯示幾部電影拷貝的新電影:的QuickTime加載不結垢
<noscript>
<object id="video_obj" TARGETCACHE="true" width="480" height="320" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="images/loginbig.gif" />
<param name="controller" value="true" />
<param name="autoplay" value="false" />
<param name="postdomevents" value="true" />
<param name="TARGETCACHE", value="true"/ >
<embed src="images/loginbig.gif"
width="480" height="320"
controller="true" autoplay="false"
scale="aspect" cache="true"
name="video_obj"
id="video_obj_embed"
postdomevents="true"
TARGETCACHE="true"
pluginspage="http://www.apple.com/quicktime/download/"
/>
</object>
</noscript>
<script language="javascript" type="text/javascript">
QT_WriteOBJECT('images/loginbig.gif' , '480', '320', ''
,'id','video_obj'
,'controller', 'true'
,'postdomevents', 'true'
,'cache', 'true'
,'autoplay', 'false'
,'emb#id','video_obj_embed'
,'emb#scale','aspect'
,'name', 'video_obj'
,'type', 'video/quicktime'
,'scale', 'aspect'
);
</script>
<script type="text/javascript" charset="utf-8">
var video = document.video_obj;
</script>
我做
video.SetURL('http://dns.com/video.mp4');
改變視頻但是,如果新視頻的尺寸大於預設的寬度和高度,它將不會自動適應視頻屏幕,我嘗試了所有我能想到並讀取的內容,但無濟於事。請分享你的建議,瞭解如何解決這個問題。
謝謝!
嘿,約翰,我試過了,但它沒」工作。謝謝你的迴應,不過,它在這裏看起來很空,因爲它看起來像quicktime相關的quesiton – 2011-02-18 18:23:39