<?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
}?>
- 本文固定链接: http://ttfde.top/index.php/post/204.html
- 转载请注明: admin 于 TTF的家园 发表