• flv格式的播放代码


    <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&amp;LogoText=www.lanrentuku.com&amp;BufferTime=3&amp;";

      

  • 相关阅读:
    artTemplate的使用总结
    死锁的简单实现
    代理模式
    装饰器模式
    建造者模式
    工厂模式
    单例模式
    linux查看日志内容
    系统信息及系统操作
    设计模式-建造者模式
  • 原文地址:https://www.cnblogs.com/lhy-93/p/5920739.html
Copyright © 2020-2023  润新知