Online player code Daquan!

Source: Internet
Author: User
Tags prefetch
Online player code Daquan

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 = "moviedomainwwidth"
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" moviewindowheight = "240"
Movie1_wwidth = "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
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/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/MTV/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,701 standby = 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,701 standby = 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/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.webjx.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.webjx.com/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" type = "regxph" text = "yourobjectname">
</Object>

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.