首页 > 应用软件 > Vcastr3使用方法
2014
08-29

Vcastr3使用方法

<?php
$str= $data['video'];
$result = substr ($str, -3);
if ($result=="flv"){ ?>
<object type="application/x-shockwave-flash" data="<?php echo $tag['path.skin']; ?>company_view/vcastr3.swf" width="620" height="375" id="vcastr3">
<param name="movie" value="<?php echo $tag['path.skin']; ?>company_view/vcastr3.swf"/>
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="xml=
{vcastr}
{channel}
{item}
{source}<?php echo $data['video'] ?>{/source}
{duration}{/duration}
{title}{/title}


{/item}
{/channel}
{config}
{isRepeat}ture{/isRepeat}
{/config}
{plugIns}
{logoPlugIn}
{url}<?php echo $tag['path.skin']; ?>company_view/logoPlugIn.swf{/url}
{logoText} {/logoText}
{logoTextAlpha}0.75{/logoTextAlpha}
{logoTextFontSize}30{/logoTextFontSize}
{logoTextLink}{/logoTextLink}
{logoTextColor}0xffffff{/logoTextColor}
{textMargin}0 0 auto auto{/textMargin}
{/logoPlugIn}
{/plugIns}
{/vcastr}"/>
</object>
<?php
}else{ ?>
<embed src=<?php echo $data['video'] ?> allowFullScreen="true" quality="high" width="620" height="375" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
<?php
}?>

作者:admin
admin
TTF的家园-www.ttfde.top 个人博客以便写写东西,欢迎喜欢互联网的朋友一起交流!