媒體|頁面 嵌入多媒體文本(EMBED)
基本文法 <embed src=#> #=URL
本標記可以用來在首頁中嵌入多媒體文本,如:
電影(movie), 聲音(sound), 虛擬現實語言(vrml)... ...
體會 <embed> 標記,您需要把 plugin 安裝完備。
請注意:embed attributes are different between each plugins.
背景音樂
<bgsound src=#> #=WAV 檔案的 URL
<bgsound loop=#> #=迴圈數
<bgsound src="sound.wav" loop=3>
插入視訊剪輯
<img src="http://www.webjx.com/htmldata/2005-03-08/url.gif" dynsrc="url.avi">
用 url.avi 這一 AVI(Video for MS-WINDOWS) 檔案來播放視頻;
用 http://www.webjx.com/htmldata/2005-03-08/url.gif 這一 GIF 圖象作為視頻的封面,即:在瀏覽器
尚未完全讀入 AVI 檔案時,先在 AVI 播放地區顯示該圖象。
<img src="http://www.webjx.com/htmldata/2005-03-08/SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI">
何時開始播放 AVI <img start=#> #=fileopen, mouseover
預設值是 #=fileopen,即在連結到含本標記的頁面(如本頁)時開始播放 AVI。
mouseover 是指您把滑鼠移到 AVI 播放地區之上時才開始播放 AVI。
也可以兩者同時設定:<img start=fileopen,mouseover>
另外,用滑鼠在 AVI 播放地區點擊一下,也將令瀏覽器開始播放該 AVI。
<img src="http://www.webjx.com/htmldata/2005-03-08/SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI" start=mouseover>
控制條 <img controls>
用來在視頻視窗下附加 MS-WINDOWS 的 AVI 播放控制條。
<img src="http://www.webjx.com/htmldata/2005-03-08/SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI" controls>
迴圈播放 <img loop=#>
<loop=infinite> 將迴圈播放不止。
<img src="http://www.webjx.com/htmldata/2005-03-08/SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI" loop=3>
延時 <img loopdelay=#> #=毫秒數
<img src="http://www.webjx.com/htmldata/2005-03-08/SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI" loop=3 loopdelay=250>