播放flash页面2

<div class="img">
<logic:equal name="result" property="bigType" value="Image">
<a href="<c:out value="${ctx}"/>/newsIndex.do?method=view&newsId=<bean:write name="result" property="newsId"/>"><img src="<c:out value="${imagePath}"/>/<bean:write name="result" property="bigImagePath"/>" width="435px"/></a>
</logic:equal>
<logic:equal name="result" property="bigType" value="Flash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="285" title="c">
<param name="movie" value="<c:out value="${imagePath}"/>/<bean:write name="result" property="bigImagePath"/>" />
<param name="quality" value="high" />
<embed src="<c:out value="${imagePath}"/>/<bean:write name="result" property="bigImagePath"/>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="285"></embed>
</object>
</logic:equal>
<logic:equal name="result" property="bigType" value="Video">
<div id="containerAD"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript">
var s1 = new SWFObject("<c:out value='${ctx}'/>/video/player.swf","ply","100%","285","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=<c:out value='${imagePath}'/>/<bean:write name="result" property="bigImagePath"/>&image=<c:out value='${ctx}'/>/images/preview.jpg");
s1.write("containerAD");
</script>
</logic:equal>
</div>
</logic:notEmpty>
<h1><a href="<c:out value="${ctx}"/>/newsIndex.do?method=view&newsId=<bean:write name="result" property="newsId"/>"><bean:write name="result" property="newsTitle"/></a></h1>
<p><bean:write name="result" property="newsSummary"/> </p>
<p class="time"> <bean:write name="result" property="showPublishDate"/></p>
</div>

</logic:equal>
</logic:iterate>
</logic:notEmpty>


<div class="clear"></div>
<p class="more" style="text-align:left;padding:0;"><a href='<c:out value="${ctx}"/>/newsIndex.do?method=list' ><bean:message key="web.news.learenmore"/> > </a></p>
</div>

<div class="side">
<c:if test="${recommendeSize>0}">
<iframe id=contentFrame src="<c:out value="${ctx}"/>/recommendedAction.do" scrolling="no" height="242" width="100%" frameborder="0" name="rigthFrame"></iframe>
</c:if>
<jsp:include page="/commons/contactPhone.jsp" flush="true"/>

<div id="newsletter" ><a href="<c:out value="${ctx}"/>/aboutUs.do?method=doSubscribeNewsletter&directoryId=404"><bean:message key="web.news.newsletter"/></a></div>
</div>
</div>
</div>
<jsp:include page="/commons/Foot.jsp" flush="true"/>
</div>
</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值