免费下载: Ghost全自动系统备份光盘正式版 V4.5 | 硬盘版 V2.0 | 排行榜 TOP50 玩玩小游戏:连连看游戏网 http://www.llkyx.com
首页 >> 下载中心 >> Flash素材 >> Vcastr 3.0 flv- flash video player 下载(开源)

Vcastr 3.0 flv- flash video player 下载(开源)

作者:ruochi 来源:ruochi.com 时间:2008-7-22 网友评论条 【

Vcastr 3.0 演示:

特点

  • 使用as3.0重新写了播放器
  • 播放器大小缩小,在20+k左右
  • 可以通过xml对播放器设置
  • 可以播放多个影片,并且有影片列表
  • 可以设置循环播放,自动播放,是否直接开始下载,控制栏的颜色和模式
  • 控制栏可以适应超小的尺寸
  • 可以使用插件扩充播放器的功能
  • 可以用插件设置logo及连接
  • 可以用插件来用javascript控制播放器

更新历史

下载

插入代码

直接写入参数

 

<object id=“vcastr3″ data=“vcastr3.swf?xml=
<vcastr>
        <channel>
                <item>
                        <source>http://vcastr.ruochi.com/video/happy_feet.flv</source>
                </item>
        </channel>
</vcastr>" type="application/x-shockwave-flash" width="240" height="180">
        <param name=”movie” value=”vcastr3.swf?xml=
<vcastr>
        <channel>
                <item>
                        <source>http://vcastr.ruochi.com/video/happy_feet.flv</source>
                </item>
        </channel>
</vcastr>" />
        <param name=“allowFullScreen” value=“true” />
</object>

 

使用xml传递参数

 

<object id=“vcastr3″ data=“vcastr3.swf?xml=http://vcastr.ruochi.com/v3/vcastr3.xml” type=“application/x-shockwave-flash” width=“240″ height=“180″>
        <param name=“movie” value=“vcastr3.swf?xml=http://vcastr.ruochi.com/v3/vcastr3.xml” />
        <param name=“allowFullScreen” value=“true” />
</object>

 

参数说明

xml的可以设置的全部参数,以及默认的数值

 

<vcastr>
        <channel>
                <item>
                        <source>http://vcastr.ruochi.com/video/happy_feet.flv</source>
                        <duration></duration>
                        <title></title>
                </item>
                <item>
                        <source>http://vcastr.ruochi.com/video/happy_feet.flv</source>
                        <duration></duration>
                        <title></title>
                </item>
                <item>
                        <source>http://vcastr.ruochi.com/video/happy_feet.flv</source>
                        <duration></duration>
                        <title></title>
                </item>
        </channel>
        <config>
                <bufferTime>4</bufferTime>
                <contralPanelAlpha>0.75</contralPanelAlpha>
                <controlPanelBgColor>0xff6600</controlPanelBgColor>
                <controlPanelBtnColor>0xffffff</controlPanelBtnColor>
                <contralPanelBtnGlowColro>0xffff00</contralPanelBtnGlowColro>
                <controlPanelMode>float</controlPanelMode>
                <defautVolume>0.8</defautVolume>
                <isAutoPlay>true</isAutoPlay>
                <isLoadBegin>true</isLoadBegin>
                <isShowAbout>true</isShowAbout>
                <scaleMode>showAll</scaleMode>
        </config>
        <plugIns>
                <logoPlugIn>
                        <url>LogoPlugIn.swf</url>
                        <logoText>Ruochi.com</logoText>
                        <logoTextAlpha>0.75</logoTextAlpha>
                        <logoTextFontSize>24</logoTextFontSize>   
                        <logoTextColor>0xffffff</logoTextColor>
                        <textMargin>10 auto auto 10</textMargin>
                        <logoClipUrl>/article/UploadPic/20087/22/2008722205516131.png</logoClipUrl>
                        <logoClipAlpha>1</logoClipAlpha>
                        <clipMargin>10 10 auto auto</clipMargin>
                </logoPlugIn>
                <javaScriptPlugIn>
                        <url>javaScriptPlugIn.swf</url>
                </javaScriptPlugIn>
        </plugIns>
</vcastr> 

 

以下用”.”描述xml树结构并说明参数作用

影片信息

channel.item

影片信息,可以设置多个影片

channel.itme.source

flv影片地址参数,此参数是唯一必须要有的参数,其他参数都可以不要,播放器有默认参数

channel.itme.duration

对应影片的总时间, 单位是秒,由于有些影片在制作过程中时间信息丢失,可以通过这里来设置

channel.itme.tilte

对应影片的标题

channel.itme.link

对应影片点击后的链接

站长工具
Google PR 查询:
相关文章
loading 请稍等,评论加载中...

Aspxhome.com. 中国Asp之家. 版权所有

闽ICP备06017341号