首页 | 设计集萃 | 程序源码 | 美文共赏 | 空间域名 | 免费资源 | 实用网址
当前位置:首页 > 设计集萃 > 为网页插入多媒体播放器的代码

为网页插入多媒体播放器的代码

作者:不详来源:网络2007-07-10 15:18:56
为网页插入多媒体播放器的代码

页面插入REAL播放器代码:

<object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=60 id=video1 style=LEFT:0px;TOP:0px  width=209>
<param name=_ExtentX value=5530>
<param name=_ExtentY value=1588>
<param name=AUTOSTART value=1>
<param name=SHUFFLE value=0>
<param name=PREFETCH value=0>
<param name=NOLABELS value=0>
<param name=SRC value=RM.RAM.RA等音乐文件绝对地址>
<param name=CONTROLS value=StatusBar,ControlPanel>
<param name=CONSOLE value=RAPLAYER>
<param name=LOOP value=0>
<param name=NUMLOOP value=0>
<param name=CENTER value=0>
<param name=MAINTAINASPECT value=0>
<param name=BACKGROUNDCOLOR value=#000000>
</object>

页面插入Media Player播放器代码:

<OBJECT id=mPlayer1 classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6 width=220 height=64 type='application/x-oleobject"'>
<PARAM NAME="URL" VALUE="WMA音乐文件绝对地址">
<PARAM NAME="rate" VALUE="1">
<PARAM NAME="balance" VALUE="0">
<PARAM NAME="currentPosition" VALUE="0">
<PARAM NAME="defaultFrame" VALUE="">
<PARAM NAME="playCount" VALUE="100">
<PARAM NAME="autoStart" VALUE="-1">
<PARAM NAME="currentMarker" VALUE="0">
<PARAM NAME="invokeURLs" VALUE="-1">
<PARAM NAME="baseURL" VALUE="">
<PARAM NAME="volume" VALUE="100">
<PARAM NAME="mute" VALUE="0">
<PARAM NAME="uiMode" VALUE="full">
<PARAM NAME="stretchToFit" VALUE="0">
<PARAM NAME="windowlessVideo" VALUE="0">
<PARAM NAME="enabled" VALUE="-1">
<PARAM NAME="enableContextMenu" VALUE="0">
<PARAM NAME="fullScreen" VALUE="0">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIFilename" VALUE="">
<PARAM NAME="captioningID" VALUE="">
</OBJECT>

页面插入Media Player(视频)播放器代码:

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" height=260 width=320> 
<param name="Filename" value="MTV视频文件绝对地址">
<param name="PlayCount" value="0"> 
<param name="AutoStart" value="1"> 
<param name="ClickToPlay" value="1">
<param name="EnableFullScreen Controls" value="1"> 
<param name="ShowAudio Controls" value="1"> 
<param name="EnableContext Menu" value="1"> 
<param name="ShowDisplay" value="0">
</object>

可自动检测的全能代码:

<embed src=媒体文件地址 width=200 height=200 autostart=true loop=true></embed>

© 2001-2030 www.DreamArt.cn All Rights Reserved.

QQ:3815864 Email:das@dreamart.cn

吉ICP备16008406号-2   吉公网安备22012202000040号