• 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;";

      

  • 相关阅读:
    jQuery初级篇
    DOM初级篇
    CSS基础篇
    javascript 初级篇
    HTML 基础篇
    Oracle文章中常用数据表的描述
    Oracle视图基础
    Oracle序列简单应用
    Oracle关联查询关于left/right join的那点事
    赋值和算术运算符
  • 原文地址:https://www.cnblogs.com/lhy-93/p/5920739.html
Copyright © 2020-2023  润新知