如题,该如何设置?我的代码如下:(可以播放视频)<object id="vcastr3" data="vcastr3.swf" height="500" type="application/x-shockwave-flash" width="650">
<param name="movie" value="vcastr3.swf"/>
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="xml=
<vcastr>
<plugIns>
<beginEndImagePlugIn>
<url>beginEndImagePlugIn.swf</url>
<source>片头动画.swf</source>
<type>begin</type>
<scaleType>showAll</scaleType>
</beginEndImagePlugIn>
<javaScriptPlugIn>
<url>javaScriptPlugIn.swf</url>
</javaScriptPlugIn>
</plugIns>
<channel>
<item>
<source>需要播放的视频.flv</source>
</item>
</channel>
        <config> 
                <bufferTime>4</bufferTime> 
                <contralPanelAlpha>0.75</contralPanelAlpha> 
                <controlPanelBgColor>0x000000</controlPanelBgColor> 
                <controlPanelBtnColor>0xffffff</controlPanelBtnColor> 
                <contralPanelBtnGlowColro>0xff6600</contralPanelBtnGlowColro> 
                <controlPanelMode>float</controlPanelMode> 
                <defautVolume>0.8</defautVolume> 
                <isAutoPlay>true</isAutoPlay> 
                <isLoadBegin>true</isLoadBegin> 
                <isShowAbout>true</isShowAbout> 
                <scaleMode>showAll</scaleMode> 
        </config>
</vcastr>" />
</object>帮助参考地址:
http://shirlly.javaeye.com/blog/269271

解决方案 »

  1.   

    示例下载
    没人用过吗?是一个可以加载flv视频的开源播放器
      

  2.   

    添加片头,就是类似先播放广告那种吗?楼主可以在channel.item 里添加上想先播放的小段flv  <item> 
                            <source>http://vcastr.ruochi.com/video/happy_feet.flv</source> 
                            <duration></duration> 
                            <title></title> 
                           </item> 
      

  3.   

    谢谢tianshikuqi8,你给了我一些额外的提示,以后有用。
    之前播放不了原来是我那个flv有问题,所以播放不了。
      

  4.   

    我的不行,source中如果是中文 会找不到文件  请问您知道为什么吗?刚接触 所以不很懂