Online player Code

Source: Internet
Author: User
Tags prefetch shuffle

1.avi format

<object id= "video" width= "height=" 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= ">"
<param name= "Moviewindowwidth" value= ">"
<param name= "FileName" value= "File:///D|/work/vod/Mbar.avi ">
<embed width= "height=" border= "0" showdisplay= "0" showcontrols= "1" autostart= "1" autorewind= "0" playcount= "0" moviewindowheight= "moviewindowwidth=" "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= ">"
<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="  width= "352"  autostart= "false" >

</OBJECT>

4.wmv format

<object id= "Nsplay" width=200 height=180 classid= "Clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase= 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" >
<!--don't allow a change in display size-->

<param name= "allowchangedisplaysize" value= "0" >
<!--does not allow scanning-->

<param name= "Allowscan" value= "0" >
<!--don't show contect menu on right mouse click-->

<param name= "Enablecontextmenu" value= "0" >
<!--don't allow playback toggling on mouse click-->
<param name= "Clicktoplay" value= "0" >
</object>

The simplest playback code

<embed src= "http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv";;
Autostart= "true" loop= "true" width= "height=" >
Just change this URL http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv to the movie you want to see.


RM format with Image:

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

No image RM format: such as Crosstalk, song ...

<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 recognizes that there are no images, but the version is your machine.
<embed src=mms://61.175.132.221/tv/mtv/f4/makeawish.wmv width=200 height=200 autostart=true loop=true></ Embed>
There is an image of the media player that automatically invokes the online plugin.
<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 with no images ... Ditto.
<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's just a different media plug-in player for the interface. This is not recommended, you can see.
<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>


Online play r m format video code:

<object id= "Player" name= "player" classid= "CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width= "272" height= " >
<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= "height=" >
<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>

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.