收集最常用的网页中嵌入视频代码大全教学内容
教你如何在网页中加入视频文件
<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>
在Dreamweaver中插入常见格式视频的代码
在Dreamweaver中插入常见格式视频的代码怎样在dreamweaver中插入视频(先确定视频的格式,再选用适当的代码进行插入操作。
然后修改视频文件路径及对应关系)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="file:///D|/work/vod/Mbar.avi"><embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" playcount="0" moviewindowheight="240" moviewindowwidth="320"filename="file:///D|/work/vod/Mbar.avi" src="Mbar.avi"></embed></object>-----------------------------------------------------------------------------2.mpg格式<objectclassid="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=RVOCXclassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAwidth=240height=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"><embedsrc="real.smi" type="audio/x-pn-realaudio-plugin"console="Console1" controls="ImageWindow" height="180" width="240" ></OBJECT>------------------------------------------------------------------------------4.rm格式<OBJECT ID=video1CLASSID="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" ></OBJECT>------------------------------------------------------------------------5.wmv格式<object id="NSPlay" width=200 height=180classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="/activex/controls/mpl ayer/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>。
网页视频播放器代码大全
网页视频播放器代码大全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> 里面。
收集最常用的网页中嵌入视频代码大全
收集最常用的网页中嵌入视频代码大全,各种各样的网页视频播放器代码.网页中嵌入视频代码综合完全版1.avi格式代码片断如下:程序代码<objectid="video"width="400"height="200"border="0"classid="clsid:CFCDAA 03-8BE4-11cf-B84B-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"autorewind="0"playcount="0"moviewindowheight="240"movi ewindowwidth="320"filename="/Mbar.avi"src="Mbar.avi"></embed></object>2.mpg格式代码片断如下:程序代码<objectclassid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A"id="Active Movie1"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="Volume"value="-480"></object>3.smi格式代码片断如下:程序代码<OBJECTid=RVOCXclassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240height=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.s mi"type="audio/x-pn-realaudio-plugin"console="Console1"controls="ImageWi ndow"height="180"width="240"autostart="true"></OBJECT>4.rm格式代码片断如下:程序代码<OBJECTID=video1CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBC CFA"HEIGHT=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-realaudio-plugin"CONSOLE="Clip1"CONTROLS="ImageWindow"HE IGHT="288"WIDTH="352"AUTOSTART="false"></OBJECT>5.wmv格式代码片断如下:程序代码<objectid="NSPlay"width=200height=180classid="CLSID:22d6f312-b0f6-11d 0-94ab-0080c74c7e95"codebase="/activex/contr ols/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"standby="LoadingMicrosoftWindowsMedia Playercomponents..."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="Volume"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>里面。
网页视频播放器代码大全汇总、常用网页播放器代码
网页视频播放器代码大全汇总、常用网页播放器代码常用网页播放器代码我们在网页上看到的播放器无外乎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 作用:指定片断使用初始编码大小播放,并且在图像窗口的中央。
网页视频代码
<paramname="Appearance"value="0">
<paramname="AutoStart"value="-1">
<paramname="AllowChangeDisplayMode"value="-1">
<paramname="AllowHideDisplay"value="0">
<paramname="NUMLOOP"value="0">
<paramname="CENTER"value="0">
<paramname="MAINTAINASPECT"value="0">
<paramname="BACKGROUNDCOLOR"value="#000000"><embedSRCtype="audio/x-pn-realaudio-plugin"CONSOLE="Clip1"CONTROLS="ImageWindow"HEIGHT="288"WIDTH="352"AUTOSTART="false">
<paramname="_ExtentY"value="7620">
<paramname="AUTOSTART"value="0">
网页视频播放器代码大全,格式包括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>里面。
网页中插入flv视频代码
实现网页中播放FLV文件的源代码使用方法:方法一、js嵌入直接copy下面代码,修改其中红色部分,即:swf_width、swf_height、texts、files 参数<script type="text/javascript">var swf_width=240var swf_height=240v ar texts=’幸福的脚丫预告片’var files=’/product/vcastr/flv/happy_feet.flv’document.write(’<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="/pub/shockwave/cabs/flash/swflash.cab#version=6, 0,0,0" width="’+ swf_width +’" height="’+ swf_height +’">’);document.write(’<param name="movie" value="/product/vcastr2/vcastr22.swf"><param name="quality" value="high">’);document.write(’<param name="menu" value="false"><param name="allowFullScreen" value="true" />’);document.write(’<param name="FlashV ars" value="vcastr_file=’+files+’&vcastr_title=’+texts+’">’);document.write(’<embed src="/product/vcastr2/vcastr22.swf" allowFullScreen="true" FlashV ars="vcastr_fi le=’+files+’&vcastr_title=’+texts+’" menu="false" quality="high" width="’+ swf_width +’" height="’+ swf_height +’" type="application/x-shockwave-flash"pluginspage="/go/getflashplayer" />’); document.write(’</object>’); </script>其中:幸福的脚丫预告片是标题。
网页视频播放器代码大全+21个为您的网站和博客提供的免费视频播放器
⽹页视频播放器代码⼤全+21个为您的⽹站和博客提供的免费视频播放器推荐使⽤极酷 Web在线播放器。
⽹页中嵌⼊视频代码综合完全版 1.avi格式 代码⽚断如下: 程序代码 <objectid="video"width="400"height="200"border="0"classid="clsid:CFCDAA03-8BE4-11cf-B84B-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"autorewind="0"playcount="0"moviewindowheight="240"moviewindowwidth="320"filename="/Mbar.avi"src="M </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="Volume"value="-480"> </object> 3.smi格式 代码⽚断如下: 程序代码 <OBJECTid=RVOCXclassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAwidth=240height=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"autostart="true"></OBJECT> 4.rm格式 代码⽚断如下: 程序代码 <OBJECTID=video1CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"HEIGHT=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-realaudio-plugin"CONSOLE="Clip1"CONTROLS="ImageWindow"HEIGHT="288"WIDTH="352"AUTOSTART="false"> </OBJECT> 5.wmv格式 代码⽚断如下: 程序代码 <objectid="NSPlay"width=200height=180classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"codebase="/activex/controls/mplayer/en /nsmp2inf.cab#Version=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="Volume"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>⾥⾯。
网页视频播放器代码大全汇总、常用网页播放器代码
常用网页播放器代码我们在网页上看到的播放器无外乎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格式
HTML5向网页嵌入视频和音频
HTML5向⽹页嵌⼊视频和⾳频向⽹页中嵌⼊视频<video> 标签可以⽤于定义视频,且提供了播放、暂停、⾳量控件来控制视频。
举个例⼦,像我们侠课岛⽹站上,课程视频播放,就是通过 <video> 标签来实现的。
下⾯我们来看⼀下如何向⽹页中嵌⼊⼀个视频。
⽰例:⾸先我们准备⼀个视频,例如⼀个 test.mp4,然后使⽤ <video> 标签嵌⼊视频,如下所⽰:<!DOCTYPE html><html><head><meta charset="utf-8"><title>HTML5学习()</title></head><body><video src="./test.mp4" controls="controls" width="700px" height="400px"></video></body></html>在浏览器中的预览效果:从上图中可以看到,我们通过 <video> 标签成功向⽹页中插⼊了⼀个视频,其中 src 属性⽤于引⼊要播放的视频的 URL,注意视频地址⼀定要正确,如果地址错误,视频是不能显⽰的。
然后我们通过 width、height 属性设置了视频的宽度为 700px ,⾼度为 400px。
然后可以看到,视频上还显⽰了播放、调整⾳量等控件,当我们点击播放按钮时,视频就会开始播放。
这是因为我们设置了 controls 属性,如果我们没有设置这个属性,视频将会显⽰⼀个静⽌的画⾯,并且不管怎么点击都是没有反应的。
⼤家可以试⼀下,不设置 controls 属性然后在浏览器中查看演⽰效果,这⾥就不演⽰给⼤家看了。
优酷视频嵌入无广告html代码
优酷视频嵌入无广告html代码无广告嵌入两种方法:第一种:<embed src="/v/swf/qplayer.swf?winType=adshow& VideoIDS=XNDgyOTYzMzU2&isAutoPlay=true&isShowRelatedVideo=false" wmod e="transparent" width="480" align="center" border="0" height="400"></ embed>【注意一:这个没有工具条没有边框可能设置大小是需要自己调整width/height】【注意二:把上面代码的VideoIDS=XNDQ4ODMzMzQ4里的XNDQ4ODMzMzQ4换成你自己视频的ID就可以了】【注意三:isAutoPlay设置自动播放】第二种:<embed type="application/x-shockwave-flash" src="http://static.youku. com/v1.0.0201/v/swf/qplayer_taobao.swf?VideoIDS=XNDQ4ODMzMzQ4=&isAuto Play=false&isShowRelatedVideo=false&embedid=-&showAd=0" id="movie_pla yer" name="movie_player" bgcolor="#FFFFFF" quality="high" wmode="tran sparent" allowfullscreen="true"flashvars="isShowRelatedVideo=false&showAd=0&show_pre=1&show_next=1&i sAutoPlay=false&isDebug=false&UserID=&winType=interior&playMovie=true &MMControl=false&MMout=false&RecordCode=1001,1002,1003,1004,1005,1006,20 01,3001,3002,3003,3004,3005,3007,3008,9999"pluginspage="/go/getflashplayer" width="450" height="327"></embed>有广告的嵌入:<embed src="/player.php/sid/XNDgyOTYzMzU2/v.sw f" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>。
网页插入视频
<!-- saved from url=(0013)about:internet -->阻止网页打开提示代码背景音乐:在代码模式下,输入代码:<bgsound src=XXX.mp3 loop=-1>视频:插入-媒体-ActiveX,然后双击面板,寻找avi视频1、avi(FLV)格式转换成swf格式(400X250比例),因为swf格式是浏览器所支持的格式,如果想用其他的格式也可以只不过需要添加插件比较麻烦,你就用格式转换器将他转换成swf格式好了,然后在菜单栏中找到“插入记录----媒体----flash”然后添加就可以了2、在属性处,点参数,如果是swf格式就不用增加循环播放自动播放:autostart=true不自动播放:autostart=false循环播放:loop= true循环播放:loop= false循环播放5次:loop= 53、音频和视频:插入—媒体——插件——选好视频保存——插入—媒体——swf——选好视频保存——Adobe Dreamweaver CS4插入视频自动播放要加入的参数html中是用embed标签:<embed src="……/filename(歌曲地址)"> 其属性有1、自动播放:语法:autostart=true、false说明:该属性规定音频或视频文件是否在下载完之后就自动播放。
true:音乐文件在下载完之后自动播放;false:音乐文件在下载完之后不自动播放。
2、循环播放:语法:loop=正整数、true、false说明:该属性规定音频或视频文件是否循环及循环次数。
属性值为正整数值时,音频或视频文件的循环次数与正整数值相同;属性值为true时,音频或视频文件循环;属性值为false时,音频或视频文件不循环3、面板显示:语法:hidden=ture、no说明:该属性规定控制面板是否显示,默认值为no。
网页在线视频播放代码大全
⽹页在线视频播放代码⼤全使⽤说明:把代码中的视频路径换成与⾃⼰的相对路径或绝对路径,播放器的窗⼝⼤⼩,根据需要修改⾼和宽的参数。
复制代码代码如下:<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针对以上代码,您只需要修改几个参数就可以成功了。
网页视频播放器代码
网页视频播放器代码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等道
收集最常用的网页中嵌入视频代码大全各种各样的网页视频播放器代码.网页中嵌入视频代码综合完全版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、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
收集最常用的网页中嵌入视频代码大全,各种各样的网页视频播放器代码.网页中嵌入视频代码综合完全版1.avi格式代码片断如下:程序代码<objectid="video"width="400"height="200"border="0"classid="clsid:CFCDAA 03-8BE4-11cf-B84B-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"autorewind="0"playcount="0"moviewindowheight="240"movi ewindowwidth="320"filename="/Mbar.avi"src="Mbar.avi"></embed></object>2.mpg格式代码片断如下:程序代码<objectclassid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A"id="Active Movie1"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="Volume"value="-480"></object>3.smi格式代码片断如下:程序代码<OBJECTid=RVOCXclassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240height=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.s mi"type="audio/x-pn-realaudio-plugin"console="Console1"controls="ImageWi ndow"height="180"width="240"autostart="true"></OBJECT>4.rm格式代码片断如下:程序代码<OBJECTID=video1CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBC CFA"HEIGHT=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-realaudio-plugin"CONSOLE="Clip1"CONTROLS="ImageWindow"HE IGHT="288"WIDTH="352"AUTOSTART="false"></OBJECT>5.wmv格式代码片断如下:程序代码<objectid="NSPlay"width=200height=180classid="CLSID:22d6f312-b0f6-11d 0-94ab-0080c74c7e95"codebase="/activex/contr ols/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"standby="LoadingMicrosoftWindowsMedia Playercomponents..."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="Volume"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>里面。