js flv Video player plug in usage

  • 2020-06-19 09:39:37
  • OfStack

It is very easy to use, friends just need to modify the corresponding parameters, there is no more nonsense here, directly provide the example.


<div class="txt1">
 <script type="text/javascript"> 
var swf_width=307
var swf_height=182
var texts=' Happy Star Burger ' 
var files='http://v.78.cn/kuailexing/sp.flv'
</script>
 <!--<script type="text/javascript" src="http://www.78.cn/style/vcast_c.js"></script>-->
 <script type="text/javascript">
  var config='0: Automatically play |1: Continuous playback |100: The default volume |0: Control bar position |2: Control bar display |0x000033: Main body color |60: Subject transparency |0x66ff00: Halo color |0xffffff: Icon color |0xffffff: Text color |:logo The text |:logo address |end.flv: The end of the swf address '
  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="http://www.78.cn/style/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+'&vcastr_config='+config+'">');
  document.write('<embed src="http://www.78.cn/style/vcastr.swf" wmode="opaque" FlashVars="vcastr_file='+files+'&vcastr_title='+texts+'&vcastr_config='+config+'" 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>
 <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="307" height="182">
  <param name="movie" value="http://www.78.cn/style/vcastr.swf">
  <param name="quality" value="high">
  <param name="menu" value="false">
  <param name="wmode" value="opaque">
  <param name="FlashVars" value="vcastr_file=http://v.78.cn/kuailexing/sp.flv&vcastr_title= Happy Star Burger &vcastr_config=0: Automatically play |1: Continuous playback |100: The default volume |0: Control bar position |2: Control bar display |0x000033: Main body color |60: Subject transparency |0x66ff00: Halo color |0xffffff: Icon color |0xffffff: Text color |:logo The text |:logo address |end.flv: The end of the swf address ">
  <embed src="/style/vcastr.swf" wmode="opaque" flashvars="vcastr_file=http://v.78.cn/kuailexing/sp.flv&vcastr_title= Happy Star Burger &vcastr_config=0: Automatically play |1: Continuous playback |100: The default volume |0: Control bar position |2: Control bar display |0x000033: Main body color |60: Subject transparency |0x66ff00: Halo color |0xffffff: Icon color |0xffffff: Text color |:logo The text |:logo address |end.flv: The end of the swf address " menu="false" quality="high" width="307" height="182" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer">
 </object>
</div>

This is the end of this article, I hope you enjoy it.


Related articles: