前几天帮朋友写了个网页中能播flv格式视频的页面,小有感受,分享下
写起来很简单,在aspx页面中写:
<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="500" height="224">
<param name="movie" value="http://www.luie.cn/flash/flv.swf?vcastr_file=http://localhost:53608/工程名/文件夹名/文件名.flv&BarColor=0xFF6600&BarPosition=1">
<param name="quality" value="high">
<param name="allowFullScreen" value="true" />
<embed src="http://www.luie.cn/flash/flv.swf?vcastr_file=http://localhost:53608/工程名/文件夹名/文件名.flv&BarColor=0xFF6600&BarPosition=1" allowFullScreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="224"></embed>
</object>
//--------------------------------------ok了