<param name="quality" value="high">
<param name="flashvars" "></object>。
2:在客户端服务器的WCF服务代码里调用ReadFile方法,传入公司服务器上文件的物理路径。
3:即可在客户端服务器端获取到公司服务器文件的二进制流了,之后可以保存下来,也可以直接回发给客户客户端。
4:可以用SQL语句来获取件:select T.c from openrowset(bulk N'D:\DB_Backup\E5KST01\audit_trail_20130419.bak', single_blob) T(c)。
ASP的?看你要播放的影音文件的类型
一般都是调用系统自身的播放软件 这样不耗网站服务器的资源
现在最常见的一般都是.WMV 调用WMP播放 .RM/RMVB 调用REALPLAY播放
还有FLV调用Flash Player
源代码如下这是WMP的
<param name="volume" value="100">是调整默认音量的选项,100是最大音量!
<object id="mPlayer1" width=300 height=300 classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">
<param name="URL" value="链接地址">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="100">
<param name="autoStart" value="1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="1">
<param name="baseURL" value>
<param name="volume" value="100">
<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>
<param name="enableErrorDialogs" value="0">
<param name="_cx" value="7779">
<param name="_cy" value="1693">
</object>
这是RM的
<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" name="player" width="300" height="240 d="player">
<param name="_ExtentX" value="10001">
<param name="_ExtentY" value="6879">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="-1">
<param name="SRC" value="链接地址">
<param name="CONTROLS" value="Imagewindow">
<param name="CONSOLE" value="clip1">
<param name="LOOP" value="true">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object>
<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="300" height="50" id="RP2">
<param name="_ExtentX" value="10001">
<param name="_ExtentY" value="1270">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="-1">
<param name="SRC" value="链接地址">
<param name="CONTROLS" value="ControlPanel,StatusBar">
<param name="CONSOLE" value="clip1">
<param name="LOOP" value="true">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object>
这是FLV的
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="400">
<param name="movie" value="http://www.cnzz.cc/Flv/Flvplayer.swf" />
<param name="quality" value="high" />
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="vcastr_file=http://www.cnzz.cc/news/UploadFiles_1118/200809/神舟七号点火发射瞬间.flv&LogoText=www.cnzz.cc&BufferTime=3" />
<embed src="http://www.cnzz.cc/Flv/Flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=http://www.cnzz.cc/news/UploadFiles_1118/200809/神舟七号点火发射瞬间.flv&LogoText=www.cnzz.cc" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="400"></embed>
</object>
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)