跪求一个JSP的播放器代码,根据数据库里边媒体类型的字段自动判断用某种类型的播放器,WMV的FLASH的和FLV的,根据不同的类型选择不同的播放器! 跪求代码!跪求能人,能用100分全给!
解决方案 »
- 有谁用过光纤交换机的,windows2003系统接入交换机,IP怎么设啊
- 问个我不懂的简单问题!!
- 一条记录既包含文本,也包含二进制数据,怎么显示啊?急啊!!!
- 求一个js的正则
- 【分享源码】Java Mail项目源码
- 救命啊,get请求串中包含#如果处理?
- javaBean继承问题
- servlet什么时候用?有了jsp+javabean,为什么还要用servlet??
- 就想死个明白。在服务器上jsp没有<base href="<%=basePath%>">不能保存session
- 后台分页的页码安全(超过总页数,页码为非数字)检查问题
- 求救。
- 登录页面输入错误后会在URL地址中持续增加login字段
</div>
[#if pagination.firstPage]
<div class="summary"><strong>摘要:</strong> [@text_cut s=content.description len='50' append='...'/]</div>
[/#if] [#if content.mediaPath?? && content.mediaType??]
<p style="margin: 5px auto; text-align: center">[#if content.mediaType=='FLV'] <object height="300" width="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="/${res}/img/flvplayer.swf" />
<param name="quality" value="high" />
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="vcastr_file=${content.mediaPath!}&BufferTime=3" /><embed height="300" width="400" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" flashvars="vcastr_file=${content.mediaPath!}" allowfullscreen="true" src="/${res}/img/flvplayer.swf"></embed></object>[#elseif content.mediaType=='FLASH'] <embed height="300" width="400" type="application/x-shockwave-flash" quality="high" src="${content.mediaPath}" wmode="transparent" align="center"></embed>
[#else]
<embed height="300" width="400" type="video/x-ms-wmv" src="${content.mediaPath}" console="cons" controls="ImageWindow" autostart="true"></embed>
[/#if]</p>
[/#if]
<div class="content">${txt!}</div>
<div class="pagebar">[#include "../style_page/content.html"/]</div>
<div class="tags"><strong>Tags:</strong> [#if content.tagStr??] [#list content.tags as t]<a target="_blank" href="${base}/tag/${t.id}.jspx">${t.name}</a>[/#list] [#else] 本文暂无Tags! [/#if]</div>
<div class="other box">[#if channel.allowUpdown]
<div class="ding fl" onclick="Cms.up('${base}',${content.id},${content.ups});">