是通过调用window media player进行播放诸如:wmv,asf等格式文件:
<object align=center classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 height=320 id=MediaPlayer width=356> <param value="-1"> <param value="https://www.jb51.net/电影地址"> <×× type=application/x-oleobject codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 flename=mp src=https://www.jb51.net/电影地址 width=356 height=320> </××> </object>
第二种
是通过调用replayer进行播放诸如:rm,ram等格式文件
播放框:
<object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=285 id=RAOCX name=rmplay width=356> <param value="https://www.jb51.net/影片地址"> <param value="Clip1"> <param value="imagewindow"> <param value="true"> <×× src="https://www.jb51.net/影片地址" autostart="true" controls="ImageWindow" console="Clip1" pluginspage="http://www.real.com"/' target="_blank" >";> </××> </object> 控制框:可紧跟播放框一起 <object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=27 id=video1 width=356> <param value="7276"> <param value="1058"> <param value="0"> <param value="0"> <param value="0"> <param value="0"> <param value="ControlPanel"> <param value="Clip1"> <param value="0"> <param value="0"> <param value="0"> <param value="0"> <param value="#ffffff"> <×× type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel" autostart="0" _extentx="7276" _extenty="1058" shuffle="0" prefetch="0" nolabels="0" loop="0" numloop="0" center="0" maintainaspect="0" backgroundcolor="#ffffff"> </××> </object>
第三种
是通过调用flashplayer进行播放:swf类的flash文档,分别如下:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height=320> <param value="https://www.jb51.net/flash地址"> <param value="high"> <×× src="https://www.jb51.net/flash地址" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"' target="_blank" >"; type="application/x-shockwave-flash" height=320>