flv视频播放器 自动循环播放代码

循环找了半天原来是“IsContinue=1”

<script type="text/javascript">
var swf_width=228
var swf_height=218
var texts='名称'
var files='文件路径'

document.write('<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"name="player" width="'+swf_width+'" height="'+ swf_height+'">');
document.write('<param name="movie" value="Flvplayer.swf?IsAutoPlay=1" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="allowFullScreen" value="true" />');
document.write('<param name="IsAutoPlay" value="1" />');
document.write('<param name="FlashVars" value="vcastr_file='+files+'&LogoText='+texts+'&BufferTime=3&IsAutoPlay=1&IsContinue=1" />');
document.write('<embed src="Flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file='+files+'&LogoText='+texts+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+swf_width+'" height="'+ swf_height+'"></embed>');
document.write('</object>');
</script>

展开阅读全文

没有更多推荐了,返回首页