flash视频器播放器代码,主要功能:1.可以读取xml设置播放列表2,可以直接以给出flv地址进行播放3,自定义尺寸,自动适应4,mm播放器风格5,循环播放6,最大化播放...
代码:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <meta name="Copyright" content="懒人图库 http://lanren.makewing.com/" /> <meta name="description" content="学会偷懒,并懒出境界是提高工作效率最有效的方法!" /> <meta content="懒人图库" name="keywords" /> <title>懒人图库</title> </head> <body> <div align="center"> <script type="text/javascript"> var swf_width=480 var swf_height=320 var texts='幸福的脚丫预告片|变形金刚预告片|江南MV|魔兽世界-晚安部落' var files='http://www.ruochi.com/product/vcastr/flv/happy_feet.flv|http://www.transformersmovie.com/transformers_640.flv|http://www.ruochi.com/product/vcastr/flv/江南.flv|http://www.ruochi.com/product/vcastr/flv/晚安部落.flv' document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">'); document.write('<param name="movie" value="vcastr.swf"><param name="quality" value="high">'); document.write('<param name="menu" value="false"><param name=wmode value="opaque">'); document.write('<param name="FlashVars" value="vcastr_file='+files+'&vcastr_title='+texts+'">'); document.write('<embed src="vcastr.swf" wmode="opaque" FlashVars="vcastr_file='+files+'&vcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>'); </script> </div> </body> </html>