<object classid="clsid:D27CDB6E-AE6D-444553540000" class="player2"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" > <param name="movie" value="exter/flvplayer.swf?vcastr_xml=exter/vcastr.xml"> <param name="quality" value="high"> <param name="allowFullScreen" value="true"> <param name="FlashVars" v-bind:value="liveSrc"> <embed src="exter/flvplayer.swf?vcastr_xml=exter/vcastr.xml" allowfullscreen="true"
v-bind:flashvars="liveSrc" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"> </object>
红色部分是本地flvplayer.swf和vcastr.xml的的地址。flvplayer.swf的下载:http://www.lanrentuku.com/js/shipin-1022.html;
如果不加?vcastr_xml=exter/vcastr.xml会报找不到vcastr.xml的错.
vcastr.xml可以这样写:
<?xml version="1.0" encoding="utf-8"?> <vcaster> </vcaster>
蓝色部分是播放源地址:例如:
this.liveSrc = "vcastr_file=demo.flv&LogoText=www.lanrentuku.com&BufferTime=3&";