FLV格式视频播放插件

<html>  

<body bgcolor="#000000">

<p align="center">  

<object type="application/x-shockwave-flash" data="vcastr3.swf" tppabs="vcastr3.swf" width="450" height="290" id="vcastr3" >    

<param name="movie" value="vcastr3.swf" tppabs="vcastr3.swf"/>    

<param name="allowFullScreen" value="true" />

<param name="bgColor" value="#000000" />

<param name="FlashVars" value="xml=video1.xml" tppabs="xml=video1.xml" />

</object>

</p>

</body>

</html>

///////////////////////////////////////////////////////video1.xml

<?xml version="1.0" encoding="utf-8" ?>
<vcastr>
 <channel>
  <item>
   <source>v2.flv</source>
   <duration></duration>
   <title>影像回顾</title>
   <link->http://www.ruochi.com/</link->
  </item>
 </channel>
 <config>
  <bufferTime>4</bufferTime>
  <contralPanelAlpha>0.75</contralPanelAlpha>
  <controlPanelBgColor>0x333333</controlPanelBgColor>
  <controlPanelBtnColor>0xffffff</controlPanelBtnColor>
  <contralPanelBtnGlowColro>0xffff00</contralPanelBtnGlowColro>
  <controlPanelMode>float</controlPanelMode>
  <defautVolume>0.7</defautVolume>
  <isAutoPlay>false</isAutoPlay>
  <isLoadBegin>true</isLoadBegin>
  <isShowAbout>true</isShowAbout>
  <scaleMode>showAll</scaleMode>
  <isRepeat>false</isRepeat>
 </config>
 <plugIns>
  <!--logoPlugIn>
   <url>logoPlugIn.swf</url>
   <logoText>www.jsjsy.com</logoText>
   <logoTextAlpha>0.75</logoTextAlpha>
   <logoTextFontSize>30</logoTextFontSize>
   <logoTextLink>http://www.ruochigroup.com</logoTextLink>
   <logoTextColor>0xffffff</logoTextColor>
   <textMargin>20 20 auto auto</textMargin>
   <logoClipUrl></logoClipUrl>
   <logoClipAlpha>0</logoClipAlpha>
   <clipMargin>20 auto auto 20</clipMargin>
  </logoPlugIn-->
  <!--beginEndImagePlugIn>
   <url>beginEndImagePlugIn.swf</url>
   <source>beginSwfTest.swf</source>
   <type>begin</type>
   <scaleType>exactFit</scaleType>
  </beginEndImagePlugIn-->
  <javaScriptPlugIn>
   <url>javaScriptPlugIn.swf</url>
  </javaScriptPlugIn>
  <!--formatSourceUrlPlugIn>
   <url>formatSourceUrlPlugIn.swf</url>
  </formatSourceUrlPlugIn-->
 </plugIns>
</vcastr>

/////////////////////////////////////////////formatSourceUrlPlugIn.swf   播放用FLASH文件

https://files.cnblogs.com/jkqblog/javaScriptPlugIn.swf

posted @ 2012-12-14 09:11  甲壳虫博客  阅读(447)  评论(0编辑  收藏  举报