Online player code Daquan (favorites)

Source: Internet
Author: User
Tags prefetch
1. avi format

<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 = "movie1_wwidth" value = "320">
<Param name = "FileName" value = "file: // D |/work/vod/Mbar. avi">
<Embed width = "400" height = "200" border = "0" showdisplay = "0" showcontrols = "1" autostart = "1" autorewind = "0" playcount =" 0 "moviedomainwheight =" 240 "moviedomainwwidth =" 320 "filename =" file: /// D |/work/vod/Mbar. avi "src =" Mbar. avi ">
</Embed>
</Object>

2. mpg format

<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. rm format

<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>

4. wmv Format

<Object id = "NSPlay" width = 200 height = 180 classid = "CLSID: 22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase = "http://activex.microsoft.com/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>

Simplest playback code

<Embed src = "http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv ";;
Autostart = "true" loop = "true" width = "200" height = "150">
Upload this URL

Rm format with images:

<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 = http://media.cdut.edu.cn/ram/new/xiaoxin1.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>

Rm format without images: such as crosstalk, songs...

<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 = http: // 210.242.69.206/ramgen/broadcast/BCC/encoder/hipop. 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>
The simplest media format player .. Automatically identifies images, but the version is yours!
<Embed src = mms: // 61.175.132.221/TV/mtv/f4/makeawish. wmv width = 200 height = 200 autostart = true loop = true> </embed>
Media players with images automatically call online plug-ins.
<Object id = nstv classid = CLSID: 6BF52A52-394A-11d3-B153-00C04F79FAA6 width = 280 height = 265 codebase = http://activex.microsoft.com/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 = http: // 202.99.11.42/xiangsheng/ymjr.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>
Media Player without images... Same as above.
<Object id = nstv classid = CLSID: 6BF52A52-394A-11d3-B153-00C04F79FAA6 width = 280 height = 60 codebase = http://activex.microsoft.com/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 = http: // 202.99.11.42/xiangsheng/ymjr.wma>
<Param name = UIMode value = full> <param name = AutoStart value = true>
<Param name = Enabled value = true>
<Param name = enableContextMenu value = false>
</Object>
It is only the player for debugging plug-ins of different media on the interface .. We recommend that you do not use this. You can check it out!
<Embed src = http://av.wanwa.com/fileroot/AV/Ramfiles/23809.ram type = audio/x-pn-realaudio-plugin console = Clip1 controls = ControlPanel, StatusBar height = 60 width = 275 autostart = true> </embed>

Code for online r m video playback:

<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 = "http://www.xiaoqiong.com/ftp/up/bz.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 = "http://www.xiaoqiong.com/ftp/up/bz.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>

 

Trackback: http://tb.blog.csdn.net/TrackBack.aspx? PostId = 1066822

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.