以下是我收集总结的两大类媒体的写法。
<!------------- rm,ram -------------------> <OBJECT ID="gsleev" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT="100" WIDTH="200">
<PARAM NAME="console" VALUE="Clip1"> <PARAM NAME="controls" VALUE="All"> <PARAM NAME="autostart" VALUE="false"> <PARAM NAME="src" VALUE="media/greenslo.ram">
<EMBED SRC="media/greenslo.ram" TYPE="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="All" HEIGHT="100" WIDTH="200" AUTOSTART="false"> </EMBED>
</OBJECT> <!--------------------------------------------------------->
<!----------WAV,MID,MP3,ASF,WMA,WMV,AVI,MPG,MPEG-----------> <object ID="MediaPlayer1" width=280 height=45 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase=" http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft? Windows? Media Player components..." type="application/x-oleobject"> <param NAME="FileName" VALUE="swist.wav"> <param NAME="animationatStart" VALUE="true"> <param NAME="transparentatStart" VALUE="true"> <param NAME="autoStart" VALUE="true"> <param NAME="showControls" VALUE="true">
<param name="Volume" value="0"> <embed type="application/x-mplayer2" pluginspage ="http://www.microsoft.com/Windows/MediaPlayer/" SRC="swist.wav" name="MediaPlayer1" width=280 height=45 AutoStart=true> </embed> </object> <!---------------------------------------------------------> 
|