当前位置: 首页 > 网络学院 > 网页制作基础教程 > WEB设计综合 > 在IE和FIREfOX下正常显示的网页内嵌播放器代码
RealPlayer
代码:
<body>
<p>RealMedia</p>
<p> <object id="RVOCX" classid="CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="320" height="172">
<param name="SRC" value="realmedia.rm">
<param name="CONTROLS" value="ImageWindow">
<param name="CONSOLE" value="cons">
<embed autostart="true" src="realmedia.rm" type="audio/x-pn-realaudio-plugin" width="320" height="172" controls="ImageWindow" console="cons"> </embed>
<param name="autostart" value="true">
</object>
</p>
<p>
<object id=RVOCX classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="320" height="30" >
<param name="SRC" value="realmedia.rm">
<param name="CONTROLS" value="ControlPanel">
<param name="CONSOLE" value="cons">
<embed src="realmedia.rm" type="audio/x-pn-realaudio-plugin" width="320" height="30" controls="ControlPanel" console="cons" > </embed>
</object>& </p>
</body>
</html>
Windows Media Player
代码:
<body>
<p>Windows Media</p>
<p><object id="PlayerEx2" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" width="320" height="217">
<param name="autoStart" value="true" />
<param name="URL" value="windowsmedia.wmv" />
<embed autostart="true" src="windowsmedia.wmv" type="video/x-ms-wmv" width="320" height="217" controls="ImageWindow" console="cons"> </embed>
</object>&</p>
</body>
</html>