The following code is directly stored in <body> </body>.
Insert media video code to a website --
<Object ID = WMP Height = 320 standby = loading... width = 332 classid = CLSID: 6bf52a52-394a-11d3-b153-00c04f79faa6>
<Param name = "url" value = "video address">
<Param name = "rate" value = "1">
<Param name = "balance" value = "0">
<Param name = "currentposition" value = "0"> defaultframe "value =" ">
<Param name = "playcount" value = "1">
<Param name = "autostart" value = "0">
<Param name = "currentmarker" value = "0">
<Param name = "invokeurls" value = "-1">
<Param name = "baseurl" value = "">
<Param name = "volume" value = "50">
<Param name ="
<Param name = "mute" value = "0">
<Param name = "uimode" value = "full">
<Param name = "stretchtofit" value = "0">
<Param name = "windowlessvideo" value = "0">
<Param name = "enabled" value = "-1">
<Param name = "enablecontextmenu" value = "-1">
<Param name = "fullscreen" value = "0">
<Param name = "samistyle" value = "">
<Param name = "samilang" value = "">
<Param name = "samifilename" value = "">
<Param name = "captioningid" value = "">
</Object>
Note:
1. Select the code and place it anywhere on your webpage. width = "video width", Height = "video height ";
2. <Param name = "autostart" value = "0">: If value = "0" is used, automatic playback is performed, and "1" is used;
3. <Param name = "playcount" value = "0">: loop playback is performed when value = "0" and value = "1" is played once.
You can also use the following code:
<Embed src = "http://diy.china001.com/telecom2/business.wmv" width = "499" Height = "356" type = "audio/X-WAV" loop = "false" autostart = "false"> </embed>
Loop = "true" indicates loop playback, and loop = "false" indicates non-loop playback;
Autostart = "true" indicates automatic playback, and autostart = "false" indicates that automatic playback is not performed.
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 = "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 = "& amp; #35; 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">
Change this URL http://wmt2.aboutmedia.com.tw/ AB... 021011_01v_120k.wmv to the movie you want to watch.
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 = & amp; #35; 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 = & amp; #35; 000000>
</Object>
The simplest media format player... automatically identifies whether there are 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 players 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's just the player that calls plug-ins of different media on the UI. We do not recommend this. You can check it!
<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 = "& amp; #35; 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 = "& amp; #35; 000000">
</Object>
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.