[ASP. NET] embed videos in webpages

Source: Internet
Author: User
Tags prefetch

First

You can call Window Media Player To Play files in formats such as wmv and ASF:
<Object align = center class = Object classid = CLSID: 22d6f312-b0f6-11d0-94ab-0080c74c7e95 Height = 320 id = mediaplayer width = 356>
<Param name = "showstatusbar" value = "-1">
<Param name = "FILENAME" value = "movie address">
<Embed type = application/X-oleobject codebase = http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 flename = Mp src = movie address width = 356 Height = 320>
</Embed>
</Object>

Second

It is used to call replayer To Play files in formats such as RM and ram.

Play box:
<Object classid = CLSID: CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA Height = 285 id = raocx name = rmplay width = 356>
<Param name = "src" value = "video address">
<Param name = "console" value = "clip1">
<Param name = "controls" value = "imagewindow">
<Param name = "autostart" value = "true">
<Embed src = "auto" autostart =" true "controls =" imagewindow "console =" clip1 "pluginspage =" http://www.real.com "/'target =" _ blank "> http://www.real.com "; width = "356" Height = "285">
</Embed>
</Object>
Control Box: can be followed by the playing Box
<Object classid = CLSID: CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA Height = 27 id = video1 width = 356>
<Param name = "_ extentx" value = "7276">
<Param name = "_ extenty" value = "1058">
<Param name = "autostart" value = "0">
<Param name = "Shuffle" value = "0">
<Param name = "prefetch" value = "0">
<Param name = "nolabels" value = "0">
<Param name = "controls" value = "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 = "# ffffff">
<Embed type = "audio/X-PN-RealAudio-plugin" console = "clip1" controls = "controlpanel" Height = "27" width = "356" autostart = "0" _ extentx = "7276" _ extenty = "1058" Shuffle = "0" prefetch = "0" nolabels = "0" loop = "0" numloop = "0" center =" 0 "maintainaspect =" 0 "backgroundcolor =" # ffffff ">
</Embed>
</Object>

Third

Is played by calling Flash Player: The Flash files of the SWF class are as follows:

<Object classid = "CLSID: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width = "356" Height = 320>
<Param name = "movie" value = "flash Address">
<Param name = "quality" value = "high">
<Embed src = "flash Address" Quality = "high" pluginspage = "http://www.macromedia.com/go/getflashplayer" 'target = "_ blank"> http://www.macromedia.com/go/getflashplayer "; type = "application/X-Shockwave-flash" width = "356" Height = 320>

Related Article

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.