Vcastr 3.0直接插入代码的方式,如果<plugIns>加了属性,<config>中的属性将失效。
比如:
<object type="application/x-shockwave-flash" data="vcastr3.swf"
width="400" height="400">
<param name="movie" value="vcastr3.swf"/>
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="xml=<vcastr>
<channel>
<item><source>01.flv</source></item>
<item><source>02.flv</source></item>
</channel>
<config> <controlPanelBgColor>0x0099ff</
controlPanelBgColor>
<isAutoPlay>false</isAutoPlay>
</config> </vcastr>"/></object>
这样没问题,但是如果<plugIns>加了属性,就不行了:
<object type="application/x-shockwave-flash" data="vcastr3.swf"
width="400" height="400">
<param name="movie" value="vcastr3.swf"/>
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="xml=<vcastr>
<channel>
<item><source>01.flv</source></item>
<item><source>02.flv</source></item>
</channel>
<config> <controlPanelBgColor>0x0099ff</
controlPanelBgColor>
<isAutoPlay>false</isAutoPlay>
</config>
<plugIns>
<logoPlugIn>
<url>logoPlugIn.swf</url>
<logoText>
www.ruochi.com</logoText>
</logoPlugIn></plugIns>
</vcastr>"/></object>
这样的话,控制条的颜色依旧是橙色。而且也没有了播放列表。