在网页中插入视频播放代码全集

合集下载

如何在网页设计中插入视频播放器

如何在网页设计中插入视频播放器

如何在网页设计中插入视频播放器
在网页设计中,除了图文并茂外,很多时候加入视频可以让用户得到更好的体验,那么如何在网页中插入视频呢?今天北京新华小明就给你答案
最基本又简单的播放代码如下:
<embed src="地址" autostart="true" loop="true" width="200" height="150" ></embed>
注:src后跟视频地址,这个视频地址在一些视频的分享选项中可以得到;
Autostart代表是否自动播放,参数为true和false
Loop为循环参数
Width是视频窗口宽度、height是高度
这是我经常用到的,希望能给需要的人得到帮助。

网页视频播放器代码大全

网页视频播放器代码大全

网页视频播放器代码大全1.avi格式代码片断如下:<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"><param name="ShowDisplay" value="0"><param name="ShowControls" value="1"><param name="AutoStart" value="1"><param name="AutoRewind" value="0"><param name="PlayCount" value="0"><param name="Appearance value="0 value="""><param name="BorderStyle value="0 value="""><param name="MovieWindowHeight" value="240"><param name="MovieWindowWidth" value="320"><param name="FileName" value="/Mbar.avi"><embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="/Mbar.avi" src="Mbar.avi"></embed></object>2.mpg格式代码片断如下:<object classid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A" id="ActiveMovie1" width="239" height="250"><param name="Appearance" value="0"><param name="AutoStart" value="-1"><param name="AllowChangeDisplayMode" value="-1"><param name="AllowHideDisplay" value="0"><param name="AllowHideControls" value="-1"><param name="AutoRewind" value="-1"><param name="Balance" value="0"><param name="CurrentPosition" value="0"><param name="DisplayBackColor" value="0"><param name="DisplayForeColor" value="16777215"><param name="DisplayMode" value="0"><param name="Enabled" value="-1"><param name="EnableContextMenu" value="-1"><param name="EnablePositionControls" value="-1"><param name="EnableSelectionControls" value="0"><param name="EnableTracker" value="-1"><param name="Filename" value="/mpeg/halali.mpg" valuetype="ref"><param name="FullScreenMode" value="0"><param name="MovieWindowSize" value="0"><param name="PlayCount" value="1"><param name="SelectionStart" value="-1"><param name="SelectionEnd" value="-1"><param name="ShowControls" value="-1"><param name="ShowDisplay" value="-1"><param name="ShowPositionControls" value="0"><param name="ShowTracker" value="-1"><param name="Volume" value="-480"></object>3.smi格式代码片断如下:<OBJECT id=RVOCX classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240 height=180><param name="_ExtentX" value="6350"><param name="_ExtentY" value="4763"><param name="AUTOSTART" value="-1"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="-1"><param name="SRC" value="rm.rm"><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="console1"><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"><embed src="real.smi" type="audio/x-pn-realaudio-plugin" console="Console1" controls="ImageWindow" height="180" width="240" autostart="true"></OBJECT>4.rm格式代码片断如下:<OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=288 WIDTH=352><param name="_ExtentX" value="9313"><param name="_ExtentY" value="7620"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="SRC" value="rtsp://203.*.*.35/vod/dawan-a.rm"><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="Clip1"><param name="LOOP" value="0"><param name="NUMLOOP" value="0"><paramname="MAINTAINASPECT" value="0"><param name="BACKGROUNDCOLOR" value="#000000"><embed SRC type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" AUTOSTART="false"></OBJECT>5.wmv格式代码片断如下:<object id="NSPlay" width=200 height=180 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"codebase="/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" align="right" hspace="5"><param name="AutoRewind" value=1><param name="FileName" value="/blog/******.wmv"><param name="ShowControls" value="1"><param name="ShowPositionControls" value="0"><param name="ShowAudioControls" value="1"><param name="ShowTracker" value="0"><param name="ShowDisplay" value="0"><param name="ShowStatusBar" value="0"><param name="ShowGotoBar" value="0"><param name="ShowCaptioning" value="0"><param name="AutoStart" value=1><param name="Volume" value="-2500"><param name="AnimationAtStart" value="0"><param name="TransparentAtStart" value="0"><param name="AllowChangeDisplaySize" value="0"><param name="AllowScan" value="0"><param name="EnableContextMenu" value="0"><param name="ClickToPlay" value="0"></object>6.wma格式放在 <body> 里面。

网页视频播放器代码大全汇总、常用网页播放器代码

网页视频播放器代码大全汇总、常用网页播放器代码

网页视频播放器代码大全汇总、常用网页播放器代码常用网页播放器代码我们在网页上看到的播放器无外乎WMP/RealOne/Macromedia Flash Player,其他的无非是面板不同,或者添加了其他控件,对于计算机上安装的一些播放器也都是编码和解码器的整合,其最核心的编码和解码技术是相同的。

例如:网络上最流行的windows media流(asf,wma,wmv格式...),Real流(rm,rmvb...),还有MPEG系列编码格式(MP4/MP3格式...)Windows Media Video 是微软推出的一种流媒体格式,它是在“同门”的ASF(Advanced Stream Format)格式升级延伸来得.在同等视频质量下,WMV格式的体积非常小,因此很适合在网上播放和传输。

Windows Media Player9兼容所有格式的WMV,官方编码器是Windows Media Encoder ,但是如果你想转制高质量的wmv文件,那您一定要有超大的内存来处理数据...无意中发现CASTPOST的播放器可以自己定义大小,对于WMV 格式的在线播放可以说已经足够快了,然后就费了好大劲把一些精彩的短片和一些经典的MTV转化WMV格式放了上来,尽管现在不能下载了,但是只要不是连接人数过多,播放起来还是很流畅的^_^ WMP加入了ActiveX解码器控件,不仅可以放曲子,还能放Flash和其它视频文件想用WMP连续播放请参照ASX元文件使用讲解:使用ASX播放列表吧上面的这个播放器是老式的那种,6.4版本!新式播放器是在MediaPlayer9.0以后出现的,也就是说只有装了9.0或9.0以上的播放器才能正常使用的。

下面是新式播放器代码,相对以前的来说要简单很多:--------------------------------------------------------------------------------RealOne播放器代码:--------------------------------------------------------------------------------看着很多很复杂的样子,其实就是多了些播放器参数,可以不要...Real Player 网页播放器参数含义参数:autostart 属性:True或是False 作用:指定是否自动播放指定的源文件参数:backgroundcolor 属性:任何用符号“#”开头的16进制数值或是任何预定义的颜色作用:指定图像窗口的背景颜色参数:center 属性:True或是False 作用:指定片断使用初始编码大小播放,并且在图像窗口的中央。

网页视频播放器代码大全,格式包括rm,rmvb,wmv等

网页视频播放器代码大全,格式包括rm,rmvb,wmv等

收集最常用的网页中嵌入视频代码大全,各种各样的网页视频播放器代码.网页中嵌入视频代码综合完全版1.avi格式代码片断如下:程序代码:<objectid="video"width="400"height="200"border="0"classid="clsid:CFCDAA03-8BE4-11cf-B8 4B-0020AFBBCCFA"><paramname="ShowDisplay"value="0"><paramname="ShowControls"value="1"><paramname="AutoStart"value="1"><paramname="AutoRewind"value="0"><paramname="PlayCount"value="0"><paramname="Appearancevalue="0value="""><paramname="BorderStylevalue="0value="""><paramname="MovieWindowHeight"value="240"><paramname="MovieWindowWidth"value="320"><paramname="FileName"value="/Mbar.avi"><embedwidth="400"height="200"border="0"showdisplay="0"showcontrols="1"autostart="1"auto rewind="0"playcount="0"moviewindowheight="240"moviewindowwidth="320"filename="/Mbar .avi"src="Mbar.avi"></embed></object>2.mpg格式代码片断如下:程序代码:<objectclassid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A"id="ActiveMovie1"width="239"height="250"><paramname="Appearance"value="0"><paramname="AutoStart"value="-1"><paramname="AllowChangeDisplayMode"value="-1"><paramname="AllowHideDisplay"value="0"><paramname="AllowHideControls"value="-1"><paramname="AutoRewind"value="-1"><paramname="Balance"value="0"><paramname="CurrentPosition"value="0"><paramname="DisplayBackColor"value="0"><paramname="DisplayForeColor"value="16777215"><paramname="DisplayMode"value="0"><paramname="Enabled"value="-1"><paramname="EnableContextMenu"value="-1"><paramname="EnablePositionControls"value="-1"><paramname="EnableSelectionControls"value="0"><paramname="EnableTracker"value="-1"><paramname="Filename"value="/mpeg/halali.mpg"valuetype="ref"> <paramname="FullScreenMode"value="0"><paramname="MovieWindowSize"value="0"><paramname="PlayCount"value="1"><paramname="Rate"value="1"><paramname="SelectionStart"value="-1"><paramname="SelectionEnd"value="-1"><paramname="ShowControls"value="-1"><paramname="ShowDisplay"value="-1"><paramname="ShowPositionControls"value="0"><paramname="ShowTracker"value="-1"><paramname="V olume"value="-480"></object>3.smi格式代码片断如下:程序代码:<OBJECTid=RVOCXc lassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240he ight=180><paramname="_ExtentX"value="6350"><paramname="_ExtentY"value="4763"><paramname="AUTOSTART"value="-1"><paramname="SHUFFLE"value="0"><paramname="PREFETCH"value="0"><paramname="NOLABELS"value="-1"><paramname="SRC"value="rm.rm"><paramname="CONTROLS"value="ImageWindow"><paramname="CONSOLE"value="console1"><paramname="LOOP"value="0"><paramname="NUMLOOP"value="0"><paramname="CENTER"value="0"><paramname="MAINTAINASPECT"value="0"><paramname="BACKGROUNDCOLOR"value="#000000"><embedsrc="real.smi"type="audio/x -pn-realaudio-plugin"console="Console1"controls="ImageWindow"height="180"width="240"aut ostart="t"您好,欢迎访问阿里西西![注册]或[登陆] 建站素材加入收藏设为首页阿里论坛网页特效电子书籍源码下载网站首页文章下载酷站论坛书籍|网页书籍|编程书籍|数据库|服务器|设计|运营| 素材|模板|图标|图片|动画|字体库| 源码|企业|商城|行业|门户|办公|建站| 特效|广告代码|菜单|时间|文字|窗口|图像教程|前端技术|编程开发|数据库|服务器|脚本|动画| 下载|软件|工具|编程|图像|服务器| 站长|优化|盈利|经验|推广|新闻|域名| 酷站|韩国酷站|欧美|中国|收录|查询|旧版阿里西西FTP贵宾资源史上最全SEO资料韩国网页设计大师商业网站源码FLASH整站源码全年网站源码打包合辑5元一张DVD网页模板前端首页HTML基础XHTML标准XML教程CSS教程脚本技术动画媒体界面设计开发文档AJAX教程您的位置:阿里西西> 前端技术> 动画媒体> 正文分类条件HTML基础XHTML标准XML教程CSS教程脚本技术动画媒体界面设计相关文档AJAX教程8顶网页视频播放器代码大全互联网Alixixi 2009-08-07 点击:13620 字体:大中小我要评论收集最常用的网页中嵌入视频代码大全,各种各样的网页视频播放器代码.-网页中嵌入视频代码综合完全版1.avi格式代码片断如下:程序代码<objectid="video"width="400"height="200"border="0"classid="clsid:CFCDAA03-8BE4-11cf-B8 4B-0020AFBBCCFA"><paramname="ShowDisplay"value="0"><paramname="ShowControls"value="1"><paramname="AutoStart"value="1"><paramname="AutoRewind"value="0"><paramname="PlayCount"value="0"><paramname="Appearancevalue="0value="""><paramname="BorderStylevalue="0value="""><paramname="MovieWindowHeight"value="240"><paramname="MovieWindowWidth"value="320"><paramname="FileName"value="/Mbar.avi"><embedwidth="400"height="200"border="0"showdisplay="0"showcontrols="1"autostart="1"auto rewind="0"playcount="0"moviewindowheight="240"moviewindowwidth="320"filename="/Mbar .avi"src="Mbar.avi"></embed></object>2.mpg格式代码片断如下:程序代码<objectclassid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A"id="ActiveMovie1"width=" 239"height="250"><paramname="Appearance"value="0"><paramname="AutoStart"value="-1"><paramname="AllowChangeDisplayMode"value="-1"><paramname="AllowHideDisplay"value="0"><paramname="AllowHideControls"value="-1"><paramname="AutoRewind"value="-1"><paramname="Balance"value="0"><paramname="CurrentPosition"value="0"><paramname="DisplayBackColor"value="0"><paramname="DisplayForeColor"value="16777215"><paramname="DisplayMode"value="0"><paramname="Enabled"value="-1"><paramname="EnableContextMenu"value="-1"><paramname="EnablePositionControls"value="-1"><paramname="EnableSelectionControls"value="0"><paramname="EnableTracker"value="-1"><paramname="Filename"value="/mpeg/halali.mpg"valuetype="ref"> <paramname="FullScreenMode"value="0"><paramname="MovieWindowSize"value="0"><paramname="PlayCount"value="1"><paramname="Rate"value="1"><paramname="SelectionStart"value="-1"><paramname="SelectionEnd"value="-1"><paramname="ShowControls"value="-1"><paramname="ShowDisplay"value="-1"><paramname="ShowPositionControls"value="0"><paramname="ShowTracker"value="-1"><paramname="V olume"value="-480"></object>3.smi格式代码片断如下:程序代码<OBJECTid=RVOCXc lassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240he ight=180><paramname="_ExtentX"value="6350"><paramname="_ExtentY"value="4763"><paramname="AUTOSTART"value="-1"><paramname="SHUFFLE"value="0"><paramname="PREFETCH"value="0"><paramname="NOLABELS"value="-1"><paramname="SRC"value="rm.rm"><paramname="CONTROLS"value="ImageWindow"><paramname="CONSOLE"value="console1"><paramname="LOOP"value="0"><paramname="NUMLOOP"value="0"><paramname="CENTER"value="0"><paramname="MAINTAINASPECT"value="0"><paramname="BACKGROUNDCOLOR"value="#000000"><embedsrc="real.smi"type="audio/x-pn-realaudio-plugin"console="Console1"controls="ImageWindow"height="180"width="240"aut ostart="true"></OBJECT>4.rm格式代码片断如下:程序代码<OBJECTID=video1CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"HEIGH T=288WIDTH=352><paramname="_ExtentX"value="9313"><paramname="_ExtentY"value="7620"><paramname="AUTOSTART"value="0"><paramname="SHUFFLE"value="0"><paramname="PREFETCH"value="0"><paramname="NOLABELS"value="0"><paramname="SRC"value="rtsp://203.*.*.35/vod/dawan-a.rm"><paramname="CONTROLS"value="ImageWindow"><paramname="CONSOLE"value="Clip1"><paramname="LOOP"value="0"><paramname="NUMLOOP"value="0"><paramname="CENTER"value="0"><paramname="MAINTAINASPECT"value="0"><paramname="BACKGROUNDCOLOR"value="#000000"><embedSRCtype="audio/x-pn-reala udio-plugin"CONSOLE="Clip1"CONTROLS="ImageWindow"HEIGHT="288"WIDTH="352"A UTOSTART="false"></OBJECT>5.wmv格式代码片断如下:程序代码<objectid="NSPlay"width=200height=180classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7 e95"codebase="/activex/controls/mplayer/en/nsmp2inf.cab#V ersion=6,4,5,715"standby="LoadingMicrosoftWindowsMediaPlayercomponents. .."type="application/x-oleobject"align="right"hspace="5"><paramname="AutoRewind"value=1><paramname="FileName"value="/blog/******.wmv"><paramname="ShowControls"value="1"><paramname="ShowPositionControls"value="0"><paramname="ShowAudioControls"value="1"><paramname="ShowTracker"value="0"><paramname="ShowDisplay"value="0"><paramname="ShowStatusBar"value="0"><paramname="ShowGotoBar"value="0"><paramname="ShowCaptioning"value="0"><paramname="AutoStart"value=1><paramname="V olume"value="-2500"><paramname="AnimationAtStart"value="0"><paramname="TransparentAtStart"value="0"><paramname="AllowChangeDisplaySize"value="0"><paramname="AllowScan"value="0"><paramname="EnableContextMenu"value="0"><paramname="ClickToPlay"value="0"></object>6.wma格式放在<body>里面。

网页中插入视频的代码

网页中插入视频的代码

强力推荐这个最简单的播放代码 <embed src="地址" autostart="true" loop="true"width="200" height="150" >仔细研究的话,就看下面的吧,哈哈哈,我一般只用上面的。

1.avi格式 <object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"><param name="ShowDisplay" value="0"><param name="ShowControls" value="1"><param name="AutoStart" value="1"><param name="AutoRewind" value="0"><param name="PlayCount" value="0"><param name="Appearance value="0 value="""><param name="BorderStyle value="0 value="""><param name="MovieWindowHeight" value="240"><param name="MovieWindowWidth" value="320"><param name="FileName" value="地址"><embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename=" 地址"src="sample.avi"></embed></object>2.mpg格式 <object classid="clsid:05589FA1-C356-11CE- BF01-00AA0055595A" id="ActiveMovie1" width="239" height="250"><param name="Appearance" value="0"><param name="AutoStart" value="-1"><param name="AllowChangeDisplayMode" value="-1"><param name="AllowHideDisplay" value="0"><param name="AllowHideControls" value="-1"><param name="AutoRewind" value="-1"><param name="Balance" value="0"><param name="CurrentPosition" value="0"><param name="DisplayBackColor" value="0"><param name="DisplayForeColor" value="16777215"><param name="DisplayMode" value="0"><param name="Enabled" value="-1"><param name="EnableContextMenu" value="-1"><param name="EnablePositionControls" value="-1"><param name="EnableSelectionControls" value="0"><param name="EnableTracker" value="-1"><param name="Filename" value="地址" valuetype="ref"><param name="FullScreenMode" value="0"><param name="MovieWindowSize" value="0"><param name="PlayCount" value="1"><param name="Rate" value="1"><param name="SelectionStart" value="-1"><param name="SelectionEnd" value="-1"><param name="ShowControls" value="-1"><param name="ShowDisplay" value="-1"><param name="ShowPositionControls" value="0"><param name="ShowTracker" value="-1"><param name="Volume" value="-480"></object>3.rm格式 <OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B- 0020AFBBCCFA" HEIGHT=288 WIDTH=352> <param name="_ExtentX"value="9313"><param name="_ExtentY" value="7620"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="SRC" value="地址";><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="Clip1"><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"><embed SRCtype="audio/x-pn-realaudio-plugin" CONSOLE="Clip1"CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" AUTOSTART="false"> </OBJECT>4.wmv格式 <object id="NSPlay" width=200 height=180classid="CLSID:22d6f312- b0f6-11d0-94ab-0080c74c7e95" codebase="地址" standby="Loading Microsoft Windows Media Player components..."type="application/x-oleobject" align="right" hspace="5"><!-- ASX File Name --><param name="AutoRewind" value=1><param name="FileName" value="xxxxxx.wmv"><!-- Display Controls --><param name="ShowControls" value="1"><!-- Display Position Controls --><param name="ShowPositionControls" value="0"><!-- Display Audio Controls --><param name="ShowAudioControls" value="1"><!-- Display Tracker Controls --><param name="ShowTracker" value="0"><!-- Show Display --><param name="ShowDisplay" value="0"><!-- Display Status Bar --><param name="ShowStatusBar" value="0"><!-- Diplay Go To Bar --><param name="ShowGotoBar" value="0"><!-- Display Controls --><param name="ShowCaptioning" value="0"><!-- Player Autostart --><param name="AutoStart" value=1><!-- Animation at Start --><param name="Volume" value="-2500"><param name="AnimationAtStart" value="0"><!-- Transparent at Start --><param name="TransparentAtStart" value="0"><!-- Do not allow a change in display size --><param name="AllowChangeDisplaySize" value="0"><!-- Do not allow scanning --><param name="AllowScan" value="0"><!-- Do not show contect menu on right mouse click --><param name="EnableContextMenu" value="0"><!-- Do not allow playback toggling on mouse click --><param name="ClickToPlay" value="0"></object>最简单的播放代码 <embed src="地址" autostart="true" loop="true"width="200" height="150" >6:有图像的rm格式 <OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=288 id=video1 width=305 VIEWASTEXT><param name=_ExtentX value=5503><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=地址><param name=CONTROLS value=Imagewindow,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>7:无图像的rm格式:(如相声,歌曲...) <object ID=video2 WIDTH=300 HEIGHT=62 CLASSID=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA><param name=_ExtentX value=9657><param name=_ExtentY value=847><param name=AUTOSTART value=-1><param name=SHUFFLE value=0><param name=PREFETCH value=0><param name=NOLABELS value=0><param name=SRC value=地址><param name=CONTROLS value=StatusBar,controlpanel><param name=CONSOLE value=Clip1><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>8:最简单的media格式的播放器 <embed src=地址 width=200 height=200 autostart=true loop=true></embed>9:有图像的media播放器,自动调用网上的插件 <object id=nstvclassid=CLSID:6BF52A52-394A-11d3- B153-00C04F79FAA6 width=280height=265 codebase=地址/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject><param name=URL value=地址><PARAM NAME=UIMode value=full><PARAM NAME=AutoStart value=true><PARAM NAME=Enabled value=true><PARAM NAME=enableContextMenu value=false><param name=WindowlessVideo value=true></object>10:无图像的media播放器 <object id=nstv classid=CLSID:6BF52A52-394A-11d3- B153-00C04F79FAA6 width=280 height=60codebase=/activex/controls/mplayer/en/nsm p2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject><param name=URL value=地址><PARAM NAME=UIMode value=full><PARAM NAME=AutoStart value=true><PARAM NAME=Enabled value=true><PARAM NAME=enableContextMenu value=false></object>11:在线播放rm格式视频代码 <object id="player" name="player"classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="400" height="272"><param name="_ExtentX" value="18415"><param name="_ExtentY" value="9102"><param name="AUTOSTART" value="-1"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="-1"><param name="SRC" value="地址"><param name="CONTROLS" value="Imagewindow"><param name="CONSOLE" value="clip1"><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><br><object ID="RP2" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH="400" HEIGHT="57"><param name="_ExtentX" value="18415"><param name="_ExtentY" value="1005"><param name="AUTOSTART" value="-1"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="-1"><param name="SRC" value="地址"><PARAM NAME="CONTROLS" VALUE="ControlPanel,StatusBar"><param name="CONSOLE" value="clip1"><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>引用内容媒体播放器的外观界面在网页中,你可以通过相关属性来控制媒体播放器的哪些部分出现,哪些部分不出现。

网页视频播放器代码

网页视频播放器代码

网页视频播放器代码&lt;object align=middleclassid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 " class=OBJECT id=MediaPlayer width=196height=196&gt;&lt;param name=ShowStatusBar value=0&gt;&lt;param name=Filename value="G:\c\实训\巧妙拆弹.avi"&gt;&lt;embed type=application/x-oleobject codebase="/activex/controls/m player/en/nsmp2inf.cab#Version=5,1,52,701" &gt;&lt;/embed&gt;&lt;/object&gt;参考资料:/question/8888717.html?si=2其他参考:网页视频播放器代码大全网页mtv播放器代码一. RM格式(无边框按钮)RealPlayer代码如下:&lt;OBJECT ID=video1CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBB CCFA" HEIGHT=288 WIDTH=352&gt;&lt;param name="_ExtentX" value="9313"&gt;&lt;param name="_ExtentY" value="7620"&gt;&lt;param name="AUTOSTART" value="1"&gt;&lt;!--AUTOSTART 不自动播放为0,自动播放为1--&gt; &lt;param name="SHUFFLE" value="0"&gt;&lt;param name="PREFETCH" value="0"&gt;&lt;param name="NOLABELS" value="0"&gt;&lt;param name="SRC"value="/old/gansu/huatingzhi bo/move/88.rm"&gt;起点站长网&lt;!--播放文件地址--&gt;&lt;param name="CONTROLS" value="ImageWindow"&gt; &lt;param name="CONSOLE" value="Clip1"&gt;&lt;param name="LOOP" value="0"&gt;&lt;param name="NUMLOOP" value="0"&gt;&lt;param name="CENTER" value="0"&gt;&lt;param name="MAINTAINASPECT" value="0"&gt;&lt;param name="BACKGROUNDCOLOR"value="#000000"&gt;&lt;embed SRCtype="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="288"WIDTH="352" AUTOSTART="false"&gt;&lt;/OBJECT&gt;成功站长网二. RM格式(带边框按钮)RealPlayer代码如下:&lt;object id="vid"classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCC FA" width="427" height="300"&gt;&lt;param name="_ExtentX" value="11298" /&gt;&lt;param name="_ExtentY" value="7938" /&gt;&lt;param name="AUTOSTART" value="-1" /&gt;&lt;!--AUTOSTART 0为打开页面处于待命状态,为-1时打开页面直接播放--&gt;&lt;param name="SHUFFLE" value="0" /&gt;&lt;param name="PREFETCH" value="0" /&gt;&lt;param name="NOLABELS" value="-1" /&gt;&lt;param name="SRC"value="/mtv/20010618/001.ram"; /&gt; 中国站长网&lt;!--播放文件地址--&gt;&lt;param name="CONTROLS" value="Imagewindow"/&gt;&lt;param name="CONSOLE" value="clip1" /&gt;&lt;param name="LOOP" value="0" /&gt;&lt;param name="NUMLOOP" value="0" /&gt;&lt;param name="CENTER" value="0" /&gt;&lt;param name="MAINTAINASPECT" value="0" /&gt;&lt;param name="BACKGROUNDCOLOR"value="#000000" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;object id="vid2"classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCC FA" width="427" height="30"&gt;&lt;param name="_ExtentX" value="11298" /&gt;&lt;param name="_ExtentY" value="794" /&gt;&lt;param name="AUTOSTART" value="-1" /&gt;&lt;param name="SHUFFLE" value="0" /&gt;&lt;param name="PREFETCH" value="0" /&gt;&lt;param name="NOLABELS" value="-1" /&gt;&lt;param name="SRC"value="/mtv/20010618/001.ram"; /&gt;&lt;!--播放文件地址--&gt;&lt;param name="CONTROLS" value="ControlPanel" /&gt; &lt;param name="CONSOLE" value="clip1" /&gt;&lt;param name="LOOP" value="0" /&gt;&lt;param name="NUMLOOP" value="0" /&gt;&lt;param name="CENTER" value="0" /&gt;&lt;param name="MAINTAINASPECT" value="0" /&gt;&lt;param name="BACKGROUNDCOLOR"value="#000000" /&gt;&lt;/object&gt;三. WMV格式(带边框按钮)Windows Media Player代码如下:站长启航网&lt;objectclassid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E9 5codebase="/activex/controls/m player/en/nsmp2inf.cab#Version=6,1,5,217"id=MediaPlayer type=application/x-oleobject width=427 height=329 standby="Loading Microsoft Windows MediaPlayer components..." VIEWASTEXT align=MIDDLE&gt; &lt;param name=AudioStream value=-1&gt;&lt;param name=AutoSize value=0&gt;&lt;param name=AutoStart value=1&gt;&lt;param name=AnimationAtStart value=0&gt;&lt;param name=AllowScan value=-1&gt;&lt;param name=AllowChangeDisplaySize value=0&gt; &lt;param name=AutoRewind value=0&gt;&lt;param name=Balance value=0&gt; 中国站长网&lt;param name=BaseURL value=""&gt;&lt;param name=BufferingTime value=5&gt;&lt;param name=CaptioningID value=""&gt;&lt;param name=ClickToPlay value=0&gt;&lt;param name=CursorType value=32512&gt;&lt;param name=CurrentPosition value=-1&gt;&lt;param name=CurrentMarker value=0&gt;&lt;param name=DefaultFrame value=1&gt;&lt;param name=DisplayBackColor value=0&gt;&lt;param name=DisplayForeColor value=16777215&gt; &lt;param name=DisplayMode value=0&gt;&lt;param name=DisplaySize value=0&gt;&lt;param name=Enabled value=-1&gt;&lt;param name=EnableContextMenu value=-1&gt;&lt;param name=EnablePositionControls value=0&gt;&lt;param name=EnableFullScreenControls value=0&gt; &lt;param name=EnableTracker value=1&gt;&lt;param name=Filenamevalue="/nystx/splx/zhang.wmv"&gt; &lt;!--播放文件地址--&gt;&lt;param name=InvokeURLs value=-1&gt;&lt;param name=Language value=-1&gt;&lt;param name=Mute value=0&gt;&lt;param name=PlayCount value=1&gt;&lt;param name=PreviewMode value=0&gt;&lt;param name=Rate value=1&gt;&lt;param name=SelectionStart value=0&gt;&lt;param name=SelectionEnd value=true&gt;&lt;param name=SendOpenStateChangeEventsvalue=-1&gt;&lt;param name=SendWarningEvents value=-1&gt;&lt;param name=SendErrorEvents value=-1&gt;&lt;param name=SendKeyboardEvents value=0&gt;&lt;param name=SendMouseClickEvents value=0&gt;&lt;param name=SendMouseMoveEvents value=0&gt;&lt;param name=SendPlayStateChangeEvents value=-1&gt;&lt;param name=ShowCaptioning value=0&gt;&lt;param name=ShowControls value=1&gt;&lt;param name=ShowPositionControls value=1&gt; &lt;param name=ShowStatusBar value=1&gt;&lt;param name=ShowTracker value=1&gt;&lt;param name=TransparentAtStart value=0&gt;&lt;param name=VideoBorderWidth value=0&gt;&lt;param name=VideoBorderColor value=0&gt;&lt;param name=VideoBorder3D value=0&gt;成功站长网&lt;param name=Volume value=-1070&gt;&lt;param name=WindowlessVideo value=1&gt;&lt;/object&gt;成功站长网起点站长网其他网页视频播放代码一. avi格式代码如下:站长成功网代码如下:站长成功网&lt;object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCC FA"&gt;&lt;param name="ShowDisplay" value="0"&gt;&lt;param name="ShowControls" value="1"&gt;&lt;param name="AutoStart" value="1"&gt;&lt;param name="AutoRewind" value="0"&gt;&lt;param name="PlayCount" value="0"&gt;&lt;param name="Appearance value="0 value="""&gt;&lt;param name="BorderStyle value="0 value="""&gt;&lt;param name="MovieWindowHeight" value="240"&gt; &lt;param name="MovieWindowWidth" value="320"&gt; &lt;param name="FileName" value="/Mbar.avi"&gt;&lt;embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="/Mbar.avi"src="/guangang_cool/blog/Mbar.avi"&g t;&lt;/embed&gt;&lt;/object&gt;站长启航网二. mpg格式代码如下:成功站长网&lt;objectclassid="clsid:05589FA1-C356-11CE-BF01-00AA0055595 A" id="ActiveMovie1" width="239" height="250"&gt;&lt;param name="Appearance" value="0"&gt;&lt;param name="AutoStart" value="-1"&gt;&lt;param name="AllowChangeDisplayMode"value="-1"&gt;&lt;param name="AllowHideDisplay" value="0"&gt;&lt;param name="AllowHideControls" value="-1"&gt;&lt;param name="AutoRewind" value="-1"&gt;&lt;param name="Balance" value="0"&gt;&lt;param name="CurrentPosition" value="0"&gt;站长启航网&lt;param name="DisplayBackColor" value="0"&gt;&lt;param name="DisplayForeColor"value="16777215"&gt;&lt;param name="DisplayMode" value="0"&gt;&lt;param name="Enabled" value="-1"&gt;&lt;param name="EnableContextMenu" value="-1"&gt;&lt;param name="EnablePositionControls" value="-1"&gt; &lt;param name="EnableSelectionControls" value="0"&gt;&lt;param name="EnableTracker" value="-1"&gt;&lt;param name="Filename" value="/mpeg/halali.mpg" valuetype="ref"&gt;&lt;param name="FullScreenMode" value="0"&gt;&lt;param name="MovieWindowSize" value="0"&gt;&lt;param name="PlayCount" value="1"&gt;&lt;param name="Rate" value="1"&gt;&lt;param name="SelectionStart" value="-1"&gt;&lt;param name="SelectionEnd" value="-1"&gt;&lt;param name="ShowControls" value="-1"&gt;&lt;param name="ShowDisplay" value="-1"&gt;&lt;param name="ShowPositionControls" value="0"&gt; &lt;param name="ShowTracker" value="-1"&gt;&lt;param name="Volume" value="-480"&gt;&lt;/object&gt; 站长成功网三. smi格式代码如下:&lt;OBJECT id=RVOCXclassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCC FA width=240 height=180&gt;&lt;param name="_ExtentX" value="6350"&gt;&lt;param name="_ExtentY" value="4763"&gt;&lt;param name="AUTOSTART" value="-1"&gt;&lt;param name="SHUFFLE" value="0"&gt;&lt;param name="PREFETCH" value="0"&gt;&lt;param name="NOLABELS" value="-1"&gt;&lt;param name="SRC" value="rm.rm"&gt;&lt;param name="CONTROLS" value="ImageWindow"&gt; &lt;param name="CONSOLE" value="console1"&gt;&lt;param name="LOOP" value="0"&gt;&lt;param name="NUMLOOP" value="0"&gt;&lt;param name="CENTER" value="0"&gt;&lt;param name="MAINTAINASPECT" value="0"&gt;&lt;param name="BACKGROUNDCOLOR"value="#000000"&gt;&lt;embedsrc="/guangang_cool/blog/real.smi"type="audio/x-pn-realaudio-plugin" console="Console1" controls="ImageWindow" height="180" width="240" autostart="true"&gt;&lt;/OBJECT&gt; 中国站长网您可能也喜欢:。

网页视频播放器代码大全汇总、常用网页播放器代码

网页视频播放器代码大全汇总、常用网页播放器代码

常用网页播放器代码我们在网页上看到的播放器无外乎WMP/RealOne/Macromedia Flash Player,其他的无非是面板不同,或者添加了其他控件,对于计算机上安装的一些播放器也都是编码和解码器的整合,其最核心的编码和解码技术是相同的。

例如:网络上最流行的windows media流(asf,wma,wmv格式...),Real流(rm,rmvb...),还有MPEG系列编码格式(MP4/MP3格式...)Windows Media Video 是微软推出的一种流媒体格式,它是在“同门”的ASF(Advanced Stream Format)格式升级延伸来得.在同等视频质量下,WMV格式的体积非常小,因此很适合在网上播放和传输。

Windows Media Player9兼容所有格式的WMV,官方编码器是Windows Media Encoder ,但是如果你想转制高质量的wmv文件,那您一定要有超大的内存来处理数据...无意中发现CASTPOST的播放器可以自己定义大小,对于WMV格式的在线播放可以说已经足够快了,然后就费了好大劲把一些精彩的短片和一些经典的MTV转化WMV格式放了上来,尽管现在不能下载了,但是只要不是连接人数过多,播放起来还是很流畅的^_^WMP加入了ActiveX解码器控件,不仅可以放曲子,还能放Flash和其它视频文件<o**ect align=middle classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class=OBJECT id=MediaPlayer width=196 height=196><param name=ShowStatusBar value=0><param name=Filename value="http://202.116.*.*/video/story/chinese/hynh/b.wmv"><embed type=application/x-oleo**ect codebase="/activex/con... n/nsmp2inf.cab#Version=5,1,52,701" ></embed></o**ect>想用WMP连续播放请参照ASX元文件使用讲解:使用ASX播放列表吧上面的这个播放器是老式的那种,6.4版本!新式播放器是在MediaPlayer9.0以后出现的,也就是说只有装了9.0或9.0以上的播放器才能正常使用的。

网页中嵌入视频播放器代码大全

网页中嵌入视频播放器代码大全
代码如下:
二. mpg格式
代码如下:
三. smi格式
代码如下:
网页中嵌入视频播放器代码大全 网页视频播放器代码大全网页mtv播放器代码 一. rm格式(无边框按钮)realplayer 代码如下: 二. rm格式(带边框按钮)realplayer 代码如下: 三. wmv格式(带边框按钮)windows media player 代码如下: 其他网页视频播放代码 一. avi格式 代码如下: 二. mpg格式 代码如下: 三. smi格式 代码如下: 下载文档原格式( word原格式 ,共7页)
网页中嵌入视频播放器代码大全
网页视频播放器代码大全网ห้องสมุดไป่ตู้mtv播放器代码
一. RM格式(无边框按钮)RealPlayer
代码如下:
二. RM格式(带边框按钮)RealPlayer
代码如下:
三. WMV格式(带边框按钮)Windows Media Player
代码如下:
其他网页视频播放代码
一. avi格式

网页视频播放代码集

网页视频播放代码集

1.avi格式代码片断如下:<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"><param name="ShowDisplay" value="0"><param name="ShowControls" value="1"><param name="AutoStart" value="1"><param name="AutoRewind" value="0"><param name="PlayCount" value="0"><param name="Appearance value="0 value="""><param name="BorderStyle value="0 value="""><param name="MovieWindowHeight" value="240"><param name="MovieWindowWidth" value="320"><param name="FileName" value="/Mbar.avi"><embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="/Mbar.avi" src="Mbar.avi"></embed></object>2.mpg格式代码片断如下:<object classid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A" id="ActiveMovie1" width="239" height="250"><param name="Appearance" value="0"><param name="AutoStart" value="-1"><param name="AllowChangeDisplayMode" value="-1"><param name="AllowHideDisplay" value="0"><param name="AllowHideControls" value="-1"><param name="AutoRewind" value="-1"><param name="Balance" value="0"><param name="CurrentPosition" value="0"><param name="DisplayBackColor" value="0"><param name="DisplayForeColor" value="16777215"><param name="DisplayMode" value="0"><param name="Enabled" value="-1"><param name="EnableContextMenu" value="-1"><param name="EnablePositionControls" value="-1"><param name="EnableSelectionControls" value="0"><param name="EnableTracker" value="-1"><param name="Filename" value="/mpeg/halali.mpg" valuetype="ref"><param name="FullScreenMode" value="0"><param name="MovieWindowSize" value="0"><param name="PlayCount" value="1"><param name="Rate" value="1"><param name="SelectionStart" value="-1"><param name="SelectionEnd" value="-1"><param name="ShowControls" value="-1"><param name="ShowDisplay" value="-1"><param name="ShowPositionControls" value="0"><param name="ShowTracker" value="-1"><param name="Volume" value="-480"></object>3.smi格式代码片断如下:<OBJECT id=RVOCX classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240 height=180><param name="_ExtentX" value="6350"><param name="_ExtentY" value="4763"><param name="AUTOSTART" value="-1"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="-1"><param name="SRC" value="rm.rm"><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="console1"><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"><embed src="/htmldata/2006-05-18/real.smi" type="audio/x-pn-realaudio-plugin" console="Console1" controls="ImageWindow" height="180" width="240" autostart="true"></OBJECT>4.rm格式代码片断如下:<OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=288 WIDTH=352><param name="_ExtentY" value="7620"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="SRC" value="rtsp://203.*.*.35/vod/dawan-a.rm"><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="Clip1"><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"><embed SRC type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" AUTOSTART="false"></OBJECT>5.wmv格式代码片断如下:<object id="NSPlay" width=200 height=180 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"codebase="/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" align="right" hspace="5"><param name="AutoRewind" value=1><param name="FileName" value="/blog/******.wmv"><param name="ShowControls" value="1"><param name="ShowPositionControls" value="0"><param name="ShowAudioControls" value="1"><param name="ShowTracker" value="0"><param name="ShowDisplay" value="0"><param name="ShowStatusBar" value="0"><param name="ShowGotoBar" value="0"><param name="ShowCaptioning" value="0"><param name="AutoStart" value=1><param name="Volume" value="-2500"><param name="AnimationAtStart" value="0"><param name="TransparentAtStart" value="0"><param name="AllowChangeDisplaySize" value="0"><param name="AllowScan" value="0"><param name="EnableContextMenu" value="0"></object>6.wma格式放在<body> 里面。

播放视频代码

播放视频代码

播放框:
<object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=285 id=RAOCX name=rmplay width=356>
<param name="SRC" value="影片地址">
<param name="CONSOLE" value="Clip1">
<param NAME="stretchToFit" VALUE="0">
<param NAME="windowlessVideo" VALUE="0">
<param NAME="enabled" VALUE="-1">
<param NAME="enableContextMenu" VALUE="-1">
在网页上播放视频
网页上通过插入控件播放视频的代码有下列几种:
第一种是通过调用window media player进行播放诸如:wmv,asf等格式的文件
第二种是通过调用replayer进行播放诸如:rm,ram等格式的文件
第三种是通过调用flashplayer进行播放:swf类的flash文档,分别如下:
<param name="CONTROLS" value="ControlPanel">
<param name="CONSOLE" value="Clip1">

网页上嵌入播放器(常用播放器代码整理)

网页上嵌入播放器(常用播放器代码整理)

网页上嵌入播放器(常用播放器代码整理)(jsp/html)网页上嵌入播放器(常用播放器代码整理) 作者:字体:[增加减小] 类型:转载网页上嵌入播放器,只要在HTML上添加以上代码就OK了,下面整理了一些常用的播放器代码,总有一款适合你,感兴趣的朋友可以参考下哈,希望对你有所帮助这个其实很简单,只要在HTML上添加以上代码就OK了,前提是你的电脑上已经安装了播放器,如RealPlay。

还有更多的的播放器和设置可供选择:页面插入REAL播放器代码:页面插入Media Player播放器代码:页面插入Media Player(视频)播放器代码:BLOG中插入音乐播放器进入控制面板,点击“首页内容维护”,在“自定义空白面板”中,新增一个空白面板,勾选“源代码”后,粘贴以下代码:或者用这个代码:上面这个长,但比较实用,能自动调网上的插件,几乎的音乐视频都播注意:http://后面的是歌曲的URL地址.在这我随便写的,你可以换成你喜欢的音乐,但必须是URL,就是搜索音乐后点右键看它的属性.把属性粘贴过来就ok了.播放器宽度和高度width=200 height=50 你根据需要设置,宽度和高度设为0的话,就成为了背景音乐,访客就看不到播放器就不能随意开启和关闭它。

(设置完就会有播放器出现,你可以随便改变自己喜欢的音乐.换链接地址就行)loop="true"为连续循环播放,loop="false"为不循环播放.你自由控制.autostart="true"为自动播放,autostart="false"为不自动播放.你自由控制.loop="2",就是音乐循环播放2次。

3,4,5---以次类推.支持的音乐格式: wma mp3 rm ra ram asf mid.做完保存后就点左边的"定制我的首页"----"添加模块"---钩选你刚才保存的空白面板---确定,登陆看看,你就可以听到音乐了.试几次就成了,习惯就简单了.对了,歌曲的URL地址与width=200 height=50 之间要留有一空格距离,否则歌曲将无法播放.如何贴rm,ra,ram类型的音乐,代码如下:如何贴midi,asf,wma,asx类型的音乐,代码如下:只需要把整段代码copy复制到文章中(编辑文章的时请先点击HT ML代码模式再粘贴代码,否则这段代码会以文本形式显示出来,不能被执行),用你喜欢及可用的音乐文件的URL(网址)代替上面白色显示的音乐地址代码就可以了。

网页在线视频播放代码大全

网页在线视频播放代码大全

⽹页在线视频播放代码⼤全使⽤说明:把代码中的视频路径换成与⾃⼰的相对路径或绝对路径,播放器的窗⼝⼤⼩,根据需要修改⾼和宽的参数。

复制代码代码如下:<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"> <param name="ShowDisplay" value="0"><param name="ShowControls" value="1"><param name="AutoStart" value="1"><param name="AutoRewind" value="0"><param name="PlayCount" value="0"><param name="Appearance value="0 value="""><param name="BorderStyle value="0 value="""><param name="MovieWindowHeight" value="240"><param name="MovieWindowWidth" value="320"><param name="FileName" value="https:///sample.avi"><embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="https:///sample.avi"src="sample.avi"></embed></object>复制代码代码如下:<object classid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A" id="ActiveMovie1" width="239" height="250"><param name="Appearance" value="0"><param name="AutoStart" value="-1"><param name="AllowChangeDisplayMode" value="-1"><param name="AllowHideDisplay" value="0"><param name="AllowHideControls" value="-1"><param name="AutoRewind" value="-1"><param name="Balance" value="0"><param name="CurrentPosition" value="0"><param name="DisplayBackColor" value="0"><param name="DisplayForeColor" value="16777215"><param name="DisplayMode" value="0"><param name="Enabled" value="-1"><param name="EnableContextMenu" value="-1"><param name="EnablePositionControls" value="-1"><param name="EnableSelectionControls" value="0"><param name="EnableTracker" value="-1"><param name="Filename" value="https:///sample.mpg" valuetype="ref"><param name="FullScreenMode" value="0"><param name="MovieWindowSize" value="0"><param name="PlayCount" value="1"><param name="Rate" value="1"><param name="SelectionStart" value="-1"><param name="SelectionEnd" value="-1"><param name="ShowControls" value="-1"><param name="ShowDisplay" value="-1"><param name="ShowPositionControls" value="0"><param name="ShowTracker" value="-1"><param name="Volume" value="-480"></object><OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=288 WIDTH=352><param name="_ExtentX" value="9313"><param name="_ExtentY" value="7620"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="SRC" value="rtsp://203.207.131.35/vod/dawan-a.rm";><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="Clip1"><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"><embed SRC type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" AUTOSTART="false"> </OBJECT>复制代码代码如下:<object id="NSPlay" width=200 height=180 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"codebase="/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" align="right" hspace="5"><!-- ASX File Name --><param name="AutoRewind" value=1><param name="FileName" value="xxxxxx.wmv"><!-- Display Controls --><param name="ShowControls" value="1"><!-- Display Position Controls --><param name="ShowPositionControls" value="0"><!-- Display Audio Controls --><param name="ShowAudioControls" value="1"><!-- Display Tracker Controls --><param name="ShowTracker" value="0"><!-- Show Display --><param name="ShowDisplay" value="0"><!-- Display Status Bar --><param name="ShowStatusBar" value="0"><!-- Diplay Go To Bar --><param name="ShowGotoBar" value="0"><!-- Display Controls --><param name="ShowCaptioning" value="0"><!-- Player Autostart --><param name="AutoStart" value=1><!-- Animation at Start --><param name="Volume" value="-2500"><param name="AnimationAtStart" value="0"><!-- Transparent at Start --><param name="TransparentAtStart" value="0"><!-- Do not allow a change in display size --><param name="AllowChangeDisplaySize" value="0"><!-- Do not allow scanning --><param name="AllowScan" value="0"><!-- Do not show contect menu on right mouse click --><param name="EnableContextMenu" value="0"><!-- Do not allow playback toggling on mouse click --><param name="ClickToPlay" value="0"></object><embed src="https:///sample.wmv" autostart="true" loop="true" width="200" height="150" >复制代码代码如下:<OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=288 id=video1 width=305 VIEWASTEXT> <param name=_ExtentX value=5503><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=https:///sample.ram><param name=CONTROLS value=Imagewindow,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>复制代码代码如下:<object ID=video2 WIDTH=300 HEIGHT=62 CLASSID=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA><param name=_ExtentX value=9657><param name=_ExtentY value=847><param name=AUTOSTART value=-1><param name=SHUFFLE value=0><param name=PREFETCH value=0><param name=NOLABELS value=0><param name=SRC value=https:///sample.rm><param name=CONTROLS value=StatusBar,controlpanel><param name=CONSOLE value=Clip1><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>复制代码代码如下:<embed src=mms:///sample.wmv width=200 height=200 autostart=true loop=true></embed>复制代码代码如下:<object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=265codebase=/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject><param name=URL value=https:///sample.wma><PARAM NAME=UIMode value=full><PARAM NAME=AutoStart value=true><PARAM NAME=Enabled value=true><PARAM NAME=enableContextMenu value=false><param name=WindowlessVideo value=true></object>复制代码代码如下:<object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=60codebase=/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject><param name=URL value=https:///sample.wma><PARAM NAME=UIMode value=full><PARAM NAME=AutoStart value=true><PARAM NAME=Enabled value=true><PARAM NAME=enableContextMenu value=false></object>复制代码代码如下:<object id="player" name="player" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="400" height="272"><param name="_ExtentX" value="18415"><param name="_ExtentY" value="9102"><param name="AUTOSTART" value="-1"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="-1"><param name="SRC" value="https:///sample.rm"><param name="CONTROLS" value="Imagewindow"><param name="CONSOLE" value="clip1"><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><br><object ID="RP2" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH="400" HEIGHT="57"> <param name="_ExtentX" value="18415"><param name="_ExtentY" value="1005"><param name="AUTOSTART" value="-1"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="-1"><param name="SRC" value="https:///sample.rm"><PARAM NAME="CONTROLS" VALUE="ControlPanel,StatusBar"><param name="CONSOLE" value="clip1"><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>在⽹页中,你可以通过相关属性来控制媒体播放器的哪些部分出现,哪些部分不出现。

怎样在网页中加入视频

怎样在网页中加入视频

很多时候鉴于业务和宣传的需要,有些人的网站需要在网站的首页或者其他页面添加视频播放。

那么,如何来添加一段视频呢?其实,方法很简单,您只需要将以下代码拷贝到你想显示的页面位置或者后台新闻、普通栏目的编辑框的源代码中,就可以实现网上视频播放了。

步骤/方法1. 1代码:<div style=" display:block; width:98%;"><p style="text-align: left"><obj ect id="myPlayer" height="375" width="440" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79F A A6"><param value="mms:///wuan/othersites/123.wmv" nam e="U R L"/><p a r a m v a l u e="1"n a m e="r a t e"/><p a r a m v a l u e="0"n a m e="b a l a n c e"/><p a r a m v a l u e=""n a m e="d e f a u l t F r a m e"/><p a r a m v a l u e="1"n a m e="p l a y C o u n t"/><p a r a m v a l u e="0"n a m e="a u t o S t a r t"/><p a r a m v a l u e="0"n a m e="c u r r e n t M a r k e r"/><p a r a m v a l u e="-1"n a m e="i n v o k e U R L s"/><p a r a m v a l u e=""n a m e="b a s e U R L"/><p a r a m v a l u e="50"n a m e="v o l u m e"/><p a r a m v a l u e="0"n a m e="m u t e"/><p a r a m v a l u e="1"n a m e="s t r e t c h T o F i t"/><p a r a m v a l u e="0"n a m e="w i n d o w l e s s V i d e o"/><p a r a m v a l u e="-1"n a m e="e n a b l e d"/><p a r a m v a l u e="-1"n a m e="e n a b l e C o n t e x t M e n u"/><p a r a m v a l u e="0"n a m e="f u l l S c r e e n"/><p a r a m v a l u e=""n a m e="S A M I S t y l e"/><p a r a m v a l u e=""n a m e="S A M I L a n g"/><p a r a m v a l u e=""n a m e="S A M I F i l e n a m e"/><param value="" name="captioningID" /></object></p> </div> </div>2. 2针对以上代码,您只需要修改几个参数就可以成功了。

网页中嵌入视频播放器代码大全

网页中嵌入视频播放器代码大全

网页视频播放器代码大全网页mtv播放器代码一. RM格式(无边框按钮)RealPlayer代码如下:<OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=288 WIDTH=352><param name="_ExtentX" value="9313"><param name="_ExtentY" value="7620"><param name="AUTOSTART" value="1"><!--AUTOSTART 不自动播放为0,自动播放为1--><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="SRC" value="/old/gansu/huatingzhibo/move/88.rm"><!--播放文件地址--><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="Clip1"><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"><embed SRC type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1"CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" AUTOSTART="false"></OBJECT>二. RM格式(带边框按钮)RealPlayer代码如下:<object id="vid" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="427" height="300"><param name="_ExtentX" value="11298" /><param name="_ExtentY" value="7938" /><param name="AUTOSTART" value="-1" /><!--AUTOSTART 0为打开页面处于待命状态,为-1时打开页面直接播放--><param name="SHUFFLE" value="0" /><param name="PREFETCH" value="0" /><param name="NOLABELS" value="-1" /><param name="SRC" value="/mtv/20010618/001.ram"; /><!--播放文件地址--><param name="CONTROLS" value="Imagewindow" /><param name="CONSOLE" value="clip1" /><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><br /><object id="vid2" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="427" height="30"><param name="_ExtentX" value="11298" /><param name="_ExtentY" value="794" /><param name="AUTOSTART" value="-1" /><param name="SHUFFLE" value="0" /><param name="PREFETCH" value="0" /><param name="NOLABELS" value="-1" /><param name="SRC" value="/mtv/20010618/001.ram"; /><!--播放文件地址--><param name="CONTROLS" value="ControlPanel" /><param name="CONSOLE" value="clip1" /><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>三. WMV格式(带边框按钮)Windows Media Player代码如下:<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95codebase="/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,1,5,217"id=MediaPlayer type=application/x-oleobject width=427 height=329 standby="Loading Microsoft Windows Media Playercomponents..." VIEWASTEXT align=MIDDLE><param name=AutoSize value=0><param name=AutoStart value=1><param name=AnimationAtStart value=0><param name=AllowScan value=-1><param name=AllowChangeDisplaySize value=0><param name=AutoRewind value=0><param name=Balance value=0><param name=BaseURL value=""><param name=BufferingTime value=5><param name=CaptioningID value=""><param name=ClickToPlay value=0><param name=CursorType value=32512><param name=CurrentPosition value=-1><param name=CurrentMarker value=0><param name=DefaultFrame value=1><param name=DisplayBackColor value=0><param name=DisplayForeColor value=16777215><param name=DisplayMode value=0><param name=DisplaySize value=0><param name=Enabled value=-1><param name=EnableContextMenu value=-1><param name=EnablePositionControls value=0><param name=EnableFullScreenControls value=0><param name=EnableTracker value=1><param name=Filename value="/nystx/splx/zhang.wmv"><!--播放文件地址--><param name=InvokeURLs value=-1><param name=Language value=-1><param name=Mute value=0><param name=PlayCount value=1><param name=PreviewMode value=0><param name=Rate value=1><param name=SelectionStart value=0><param name=SelectionEnd value=true><param name=SendOpenStateChangeEvents value=-1><param name=SendWarningEvents value=-1><param name=SendErrorEvents value=-1><param name=SendKeyboardEvents value=0><param name=SendMouseClickEvents value=0><param name=SendMouseMoveEvents value=0><param name=SendPlayStateChangeEvents value=-1><param name=ShowCaptioning value=0>其他网页视频播放代码一. avi格式代码如下:二. mpg格式代码如下:三. smi格式代码如下:。

网页视频播放器代码

网页视频播放器代码

网页视频播放器代码1、avi格式代码片断如下:<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0 020AFBBCCFA"><param name="ShowDisplay" value="0"><param name="ShowControls" value="1"><param name="AutoStart" value="1"><param name="AutoRewind" value="0"><param name="PlayCount" value="0"><param name="Appearance value="0 value="""><param name="BorderStyle value="0 value="""><param name="MovieWindowHeight" value="240"><param name="MovieWindowWidth" value="320"><param name="FileName" value="/Mbar.avi"><embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autor ewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="/Mbar.avi" sr c="Mbar.avi"></embed></object>2、mpg格式代码片断如下:<object classid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A" id="ActiveMovie1" width="239" h eight="250"><param name="Appearance" value="0"><param name="AutoStart" value="-1"><param name="AllowChangeDisplayMode" value="-1"><param name="AllowHideDisplay" value="0"><param name="AllowHideControls" value="-1"><param name="AutoRewind" value="-1"><param name="Balance" value="0"><param name="CurrentPosition" value="0"><param name="DisplayBackColor" value="0"><param name="DisplayForeColor" value="16777215"><param name="DisplayMode" value="0"><param name="Enabled" value="-1"><param name="EnableContextMenu" value="-1"><param name="EnablePositionControls" value="-1"><param name="EnableSelectionControls" value="0"><param name="EnableTracker" value="-1"><param name="Filename" value="/mpeg/halali.mpg" valuetype="ref"><param name="FullScreenMode" value="0"><param name="MovieWindowSize" value="0"><param name="PlayCount" value="1"><param name="Rate" value="1"><param name="SelectionStart" value="-1"><param name="SelectionEnd" value="-1"><param name="ShowControls" value="-1"><param name="ShowDisplay" value="-1"><param name="ShowPositionControls" value="0"><param name="ShowTracker" value="-1"><param name="Volume" value="-480"></object>3、smi格式代码片断如下:<OBJECT id=RVOCX classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240 height =180><param name="_ExtentX" value="6350"><param name="_ExtentY" value="4763"><param name="AUTOSTART" value="-1"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="-1"><param name="SRC" value="rm.rm"><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="console1"><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"><embed src="real.smi" type="audio/x-pn-r ealaudio-plugin" console="Console1" controls="ImageWindow" height="180" width="240" autostart="t rue"></OBJECT>4、rm格式代码片断如下:<OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=288 WIDTH=352><param name="_ExtentX" value="9313"><param name="_ExtentY" value="7620"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="SRC" value="rtsp://203.*.*.35/vod/dawan-a.rm"><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="Clip1"><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"><embed SRC type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" AUTOSTAR T="false"></OBJECT>5、wmv格式代码片断如下:<object id="NSPlay" width=200 height=180 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 " codebase="/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components... " type="application/x-oleobject" align="right" hspace="5"><param name="AutoRewind" value=1><param name="FileName" value="/blog/******.wmv"><param name="ShowControls" value="1"><param name="ShowPositionControls" value="0"><param name="ShowAudioControls" value="1"><param name="ShowTracker" value="0"><param name="ShowDisplay" value="0"><param name="ShowStatusBar" value="0"><param name="ShowGotoBar" value="0"><param name="ShowCaptioning" value="0"><param name="AutoStart" value=1><param name="Volume" value="-2500"><param name="AnimationAtStart" value="0"><param name="TransparentAtStart" value="0"><param name="AllowChangeDisplaySize" value="0"><param name="AllowScan" value="0"><param name="EnableContextMenu" value="0"><param name="ClickToPlay" value="0"></object>6、wma格式放在<body>里面,下面是部分解释:<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" > <param na me="Filename" value="/blog/1.Wma"><!--你文件的位置--><param name="PlayCount" value="1"><!--控制重复次数: “x”为几重复播放几次; x=0,无限循环。

网页视频播放器代码大全,格式包括rm,rmvb,wmv等道

网页视频播放器代码大全,格式包括rm,rmvb,wmv等道

收集最常用的网页中嵌入视频代码大全各种各样的网页视频播放器代码.网页中嵌入视频代码综合完全版1.avi 格式代码片断如下:程序代码:ltobjectidquotvideoquotwidthquot400quotheightquot200quotborderquot0quotclassidq uotclsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAquotgt ltparamnamequotShowDisplayquotvaluequot0quotgt ltparamnamequotShowControlsquotvaluequot1quotgt ltparamnamequotAutoStartquotvaluequot1quotgt ltparamnamequotAutoRewindquotvaluequot0quotgt ltparamnamequotPlayCountquotvaluequot0quotgt ltparamnamequotAppearancevaluequot0valuequotquotquotgt ltparamnamequotBorderStylevaluequot0valuequotquotquotgt ltparamnamequotMovieWindowHeightquotvaluequot240quotgt ltparamnamequotMovieWindowWidthquotvaluequot320quotgt ltparamnamequotFileNamequotvaluequot/Mbar.aviquotgtltembedwidthquot400quotheigh tquot200quotborderquot0quotshowdisplayquot0quotshowcontrolsquot1quotautostartquot 1quotautorewindquot0quotplaycountquot0quotmoviewindowheightquot240quotmoviewi ndowwidthquot320quotfilenamequot/Mbar.aviquotsrcquotMbar.aviquotgt lt/embedgtlt/objectgt2.mpg 格式代码片断如下:程序代码:ltobjectclassidquotclsid:05589FA1-C356-11CE-BF01-00AA0055595AquotidquotActi veMovie1quotwidthquot239quotheightquot250quotgt ltparamnamequotAppearancequotvaluequot0quotgt ltparamnamequotAutoStartquotvaluequot-1quotgt ltparamnamequotAllowChangeDisplayModequotvaluequot-1quotgt ltparamnamequotAllowHideDisplayquotvaluequot0quotgt ltparamnamequotAllowHideControlsquotvaluequot-1quotgt ltparamnamequotAutoRewindquotvaluequot-1quotgt ltparamnamequotBalancequotvaluequot0quotgt ltparamnamequotCurrentPositionquotvaluequot0quotgt ltparamnamequotDisplayBackColorquotvaluequot0quotgt ltparamnamequotDisplayForeColorquotvaluequot16777215quotgt ltparamnamequotDisplayModequotvaluequot0quotgt ltparamnamequotEnabledquotvaluequot-1quotgt ltparamnamequotEnableContextMenuquotvaluequot-1quotgt ltparamnamequotEnablePositionControlsquotvaluequot-1quotgt ltparamnamequotEnableSelectionControlsquotvaluequot0quotgt ltparamnamequotEnableTrackerquotvaluequot-1quotgt ltparamnamequotFilenamequotvaluequot/mpeg/halali.mpgquotvaluetypequotrefquotgt ltparamnamequotFullScreenModequotvaluequot0quotgt ltparamnamequotMovieWindowSizequotvaluequot0quotgt ltparamnamequotPlayCountquotvaluequot1quotgt ltparamnamequotRatequotvaluequot1quotgt ltparamnamequotSelectionStartquotvaluequot-1quotgt ltparamnamequotSelectionEndquotvaluequot-1quotgt ltparamnamequotShowControlsquotvaluequot-1quotgt ltparamnamequotShowDisplayquotvaluequot-1quotgt ltparamnamequotShowPositionControlsquotvaluequot0quotgtltparamnamequotShowTrackerquotvaluequot-1quotgt ltparamnamequotVolumequotvaluequot-480quotgt lt/objectgt3.smi 格式代码片断如下:程序代码:ltOBJECTidRVOCXclassidclsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAwi dth240height180gt ltparamnamequot_ExtentXquotvaluequot6350quotgt ltparamnamequot_ExtentYquotvaluequot4763quotgt ltparamnamequotAUTOSTARTquotvaluequot-1quotgt ltparamnamequotSHUFFLEquotvaluequot0quotgt ltparamnamequotPREFETCHquotvaluequot0quotgt ltparamnamequotNOLABELSquotvaluequot-1quotgt ltparamnamequotSRCquotvaluequotrm.rmquotgt ltparamnamequotCONTROLSquotva ltparamnamequotCONSOLEquotvaluequotconsole1quotgt ltparamnamequotLOOPquotvaluequot0quotgt ltparamnamequotNUMLOOPquotvaluequot0quotgt ltparamnamequotCENTERquotvaluequot0quotgt ltparamnamequotMAINTAINASPECTquotvaluequot0quotgtltparamnamequotBACKGR OUNDCOLORquotvaluequot000000quotgtltembedsrcquotreal.smiquottypequotaudio/x-pn-realaudio-pluginquotconsolequotConsole1quotcontrolsquotImageWindowquotheightq uot180quotwidthquot240quotautostartquottquot您好,欢迎访问阿里西西!注册或登陆建站素材加入收藏设为首页阿里论坛网页特效电子书籍源码下载网站首页文章下载酷站论坛书籍网页书籍编程书籍数据库服务器设计运营素材模板图标图片动画字体库源码企业商城行业门户办公建站特效广告代码菜单时间文字窗口图像教程前端技术编程开发数据库服务器脚本动画下载软件工具编程图像服务器站长优化盈利经验推广新闻域名酷站韩国酷站欧美中国收录查询旧版阿里西西FTP 贵宾资源史上最全SEO 资料韩国网页设计大师商业网站源码FLASH 整站源码全年网站源码打包合辑5 元一张DVD 网页模板前端首页HTML 基础XHTML 标准XML 教程CSS 教程脚本技术动画媒体界面设计开发文档AJAX 教程您的位置:阿里西西gt 前端技术gt 动画媒体gt 正文分类条件HTML 基础XHTML 标准XML 教程CSS 教程脚本技术动画媒体界面设计相关文档AJAX 教程8 顶网页视频播放器代码大全互联网Alixixi 2009-08-07 点击:13620 字体:大中小我要评论收集最常用的网页中嵌入视频代码大全各种各样的网页视频播放器代码.-网页中嵌入视频代码综合完全版1.avi 格式代码片断如下:程序代码ltobjectidquotvideoquotwidthquot400quotheightquot200quotborderquot0quotclassidquot clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAquotgt ltparamnamequotShowDisplayquotvaluequot0quotgt ltparamnamequotShowControlsquotvaluequot1quotgt ltparamnamequotAutoStartquotvaluequot1quotgt ltparamnamequotAutoRewindquotvaluequot0quotgt ltparamnamequotPlayCountquotvaluequot0quotgt ltparamnamequotAppearancevaluequot0valuequotquotquotgt ltparamnamequotBorderStylevaluequot0valuequotquotquotgt ltparamnamequotMovieWindowHeightquotvaluequot240quotgt ltparamnamequotMovieWindowWidthquotvaluequot320quotgtltparamnamequotFileNamequotvaluequot/Mbar.aviquotgtltembedwidthquot400quotheigh tquot200quotborderquot0quotshowdisplayquot0quotshowcontrolsquot1quotautostartquot 1quotautorewindquot0quotplaycountquot0quotmoviewindowheightquot240quotmoviewi ndowwidthquot320quotfilenamequot/Mbar.aviquotsrcquotMbar.aviquotgt lt/embedgtlt/objectgt 2.mpg 格式代码片断如下:程序代码ltobjectclassidquotclsid:05589FA1-C356-11CE-BF01-00AA0055595AquotidquotActive Movie1quotwidthquot239quotheightquot250quotgt ltparamnamequotAppearancequotvaluequot0quotgt ltparamnamequotAutoStartquotvaluequot-1quotgt lt ltparamnamequotAllowHideDisplayquotvaluequot0quotgt ltparamnamequotAllowHideControlsquotvaluequot-1quotgtltparamnamequotAutoRewin dquotvaluequot-1quotgtltparamnamequotBalancequotvaluequot0quotgtltparamnamequot CurrentPositionquotvaluequot0quotgtltparamnamequotDisplayBackColorquotvaluequot0 quotgtltparamnamequotDisplayForeColorquotvaluequot16777215quotgtltparamnamequo tDisplayModequotvaluequot0quotgtltparamnamequotEnabledquotvaluequot-1quotgtltpar amnamequotEnableContextMenuquotvaluequot-1quotgtltparamnamequotEnablePosition Controlsquotvaluequot-1quotgtltparamnamequotEnableSelectionControlsquotvaluequot0 quotgtltparamnamequotEnableTrackerquotvaluequot-1quotgtltparamnamequotFilenameq uotvaluequot/mpeg/halali.mpgquotvaluetypequotrefquotgtltparamnamequotFullScreenM odequotvaluequot0quotgtltparamnamequotMovieWindowSizequotvaluequot0quotgtltpar amnamequotPlayCountquotvaluequot1quotgtltparamnamequotRatequotvaluequot1quotgt ltparamnamequotSelectionStartquotvaluequot-1quotgtltparamnamequotSelectionEndquot valuequot-1quotgtltparamnamequotShowControlsquotvaluequot-1quotgtltparamnamequo tShowDisplayquotvaluequot-1quotgtltparamnamequotShowPositionControlsquotvaluequ ot0quotgtltparamnamequotShowTrackerquotvaluequot-1quotgt ltparamnamequotVolumequotvaluequot-480quotgt lt/objectgt 3.smi 格式代码片断如下:程序代码ltOBJECTidRVOCXclassidclsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAwidth 240height180gt ltparamnamequot_ExtentXquotvaluequot6350quotgt ltparamnamequot_ExtentYquotvaluequot4763quotgt ltparamnamequotAUTOSTARTquotvaluequot-1quotgt ltparamnamequotSHUFFLEquotvaluequot0quotgt ltparamnamequotPREFETCHquotvaluequot0quotgt ltparamnamequotNOLABELSquotvaluequot-1quotgt ltparamnamequotSRCquotvaluequotrm.rmquotgt ltparamnamequotCONTROLSquotvaluequotImageWindowquotgt ltparamnamequotCONSOLEquotvaluequotconsole1quotgt ltparamnamequotLOOPquotvaluequot0quotgt ltparamnamequotNUMLOOPquotvaluequot0quotgt ltparamnamequotCENTERquotvaluequot0quotgt ltparamnamequotMAINTAINASPECTquotvaluequot0quotgtltparamnamequotBACKGR OUNDCOLORquotvaluequot000000quotgtltembedsrcquotreal.smiquottypequotaudio/x-pn-realaudio-pluginquotconsolequotConsole1quotcontrolsquotImageWindowquotheightq uot180quotwidthquot240quotautostartquottruequotgtlt/OBJECTgt 4.rm 格式代码片断如下:程序代码ltOBJECTIDvideo1CLASSIDquotclsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAquotHEIGHT288WIDTH352gt ltparamnamequot_ExtentXquotvaluequot9313quotgt ltparamnamequot_ExtentYquotvaluequot7620quotgt ltparamnamequotAUTOSTARTquotvaluequot0quotgt ltparamnamequotSHUFFLEquotvaluequot0quotgt ltparamnamequotPREFETCHquotvaluequot0quotgt ltparamnamequotNOLABELSquotvaluequot0quotgt ltparamnamequotSRCquotvaluequotrtsp://203...35/vod/dawan-a.rmquotgt ltparamnamequotCONTROLSquotvaluequotImageWindowquotgt ltparamnamequotCONSOLEquotvaluequotClip1quotgt ltparamnamequotLOOPquotvaluequot0quotgt ltparamnamequotNUMLOOPquotvaluequot0quotgt ltparamnamequotCENTERquotvaluequot0quotgt ltparamnamequotMAINTAINASPECTquotvaluequot0quotgt ltparamnamequotBACKGROUNDCOLORquotvaluequot000000quotgtltembedSRCtylt/OBJECTgt 5.wmv 格式代码片断如下:程序代码ltobjectidquotNSPlayquotwidth200height180classidquotCLSID:22d6f312-b0f6-11d0-94a b-0080c74c7e95quotcodebasequot/activex/controls/mplayer/ en/nsmp2inf.cabVersion645715quotstandbyquotLoadingMicrosoftWindowsMediaPlayer components...quottypequotapplication/x-oleobjectquotalignquotrightquothspacequot5quo tgt ltparamnamequotAutoRewindquotvalue1gt ltparamnamequotFileNamequotvaluequot/blog/.wmvquotgt ltparamnamequotShowControlsquotvaluequot1quotgt ltparamnamequotShowPositionControlsquotvaluequot0quotgt ltparamnamequotShowAudioControlsquotvaluequot1quotgt ltparamnamequotShowTrackerquotvaluequot0quotgt ltparamnamequotShowDisplayquotvaluequot0quotgt ltparamnamequotShowStatusBarquotvaluequot0quotgt ltparamnamequotShowGotoBarquotvaluequot0quotgt ltparamnamequotShowCaptioningquotvaluequot0quotgt ltparamnamequotAutoStartquotvalue1gt ltparamnamequotVolumequotvaluequot-2500quotgt ltparamnamequotAnimationAtStartquotvaluequot0quotgt ltparamnamequotTransparentAtStartquotvaluequot0quotgt ltparamnamequotAllowChangeDisplaySizequotvaluequot0quotgt ltparamnamequotAllowScanquotvaluequot0quotgt ltparamnamequotEnableContextMenuquotvaluequot0quotgt ltparamnamequotClickToPlayquotvaluequot0quotgt lt/objectgt 6.wma 格式放在ltbodygt里面。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

在网页中插入视频播放代码全集.txt <param name="ShowControls" value="1"><param name="AutoStart" value="1"><param name="AutoRewind" value="0"><param name="PlayCount" value="0"><param name="Appearance value="0 value="""><param name="BorderStyle value="0 value="""><param name="MovieWindowHeight" value="240"><param name="MovieWindowWidth" value="320"><param name="FileName" value="/Mbar.avi"><embed width="400" height="200" border="0" showdisplay="0" showcontrols="1"autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="/Mbar.avi" src="Mbar.avi"></embed></object>2.mpg格式代码片断如下:<object classid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A" id="ActiveMovie1"width="239" height="250"><param name="Appearance" value="0"><param name="AutoStart" value="-1"><param name="AllowChangeDisplayMode" value="-1"><param name="AllowHideDisplay" value="0"><param name="AllowHideControls" value="-1"><param name="AutoRewind" value="-1"><param name="Balance" value="0"><param name="CurrentPosition" value="0"><param name="DisplayBackColor" value="0"><param name="DisplayForeColor" value="16777215"><param name="DisplayMode" value="0"><param name="Enabled" value="-1"><param name="EnableContextMenu" value="-1"><param name="EnablePositionControls" value="-1"><param name="EnableSelectionControls" value="0"><param name="EnableTracker" value="-1"><param name="Filename" value="/mpeg/halali.mpg" valuetype="ref"><param name="FullScreenMode" value="0"><param name="MovieWindowSize" value="0"><param name="PlayCount" value="1"><param name="Rate" value="1"><param name="SelectionStart" value="-1"><param name="SelectionEnd" value="-1"><param name="ShowControls" value="-1"><param name="ShowDisplay" value="-1"><param name="ShowPositionControls" value="0"><param name="ShowTracker" value="-1"><param name="Volume" value="-480"></object>3.smi格式代码片断如下:<OBJECT id=RVOCX classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240 height=180><param name="_ExtentX" value="6350"><param name="_ExtentY" value="4763"><param name="AUTOSTART" value="-1"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="-1"><param name="SRC" value="rm.rm"><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="console1"><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"><embed src="real.smi" type="audio/x-pn-realaudio-plugin" console="Console1" controls="ImageWindow" height="180" width="240" autostart="true"></OBJECT>4.rm格式代码片断如下:<OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=288 WIDTH=352><param name="_ExtentX" value="9313"><param name="_ExtentY" value="7620"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="SRC" value="rtsp://203.*.*.35/vod/dawan-a.rm"><param name="CONTROLS" value="ImageWindow"><param name="CONSOLE" value="Clip1"><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"><embed SRCtype="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" AUTOSTART="false"></OBJECT>5.wmv格式代码片断如下:<object id="NSPlay" width=200 height=180 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"codebase="/activex/controls/mplayer/en/nsmp2inf.cab# Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" align="right" hspace="5"><param name="AutoRewind" value=1><param name="FileName" value="/blog/******.wmv"><param name="ShowControls" value="1"><param name="ShowPositionControls" value="0"><param name="ShowAudioControls" value="1"><param name="ShowTracker" value="0"><param name="ShowDisplay" value="0"><param name="ShowStatusBar" value="0"><param name="ShowGotoBar" value="0"><param name="ShowCaptioning" value="0"><param name="AutoStart" value=1><param name="Volume" value="-2500"><param name="AnimationAtStart" value="0"><param name="TransparentAtStart" value="0"><param name="AllowChangeDisplaySize" value="0"><param name="AllowScan" value="0"><param name="EnableContextMenu" value="0"><param name="ClickToPlay" value="0"></object>6.wma格式放在 <body> 里面。

相关文档
最新文档