主题 : jeecms读取视频问题 |
级别: 状元
|
15# 发表于:2014-03-18 17:19:53 IP:111.205.*.*
<div class="tvCon">
[#if content.mediaPath?? && content.mediaType??] <p style="margin: 5px auto; text-align: center">[#if content.mediaType=='FLV'] <object height="500" width="98%" 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="500" width="98%" 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="500" width="98%" type="application/x-shockwave-flash" quality="high" src="${content.mediaPath}" wmode="transparent" align="center"></embed>[#else] <embed height="500" width="98%" 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> <div class="clear"></div> |
||
---|---|---|---|
级别: 举人
|
16# 发表于:2014-03-18 17:22:43 IP:121.40.*.*
我的意思是说发,能让我播放器出现的代码,你上面的那段代码我已经试过了,就是不出播放器
|
||
---|---|---|---|
级别: 状元
|
17# 发表于:2014-03-18 17:28:11 IP:111.205.*.*
首页播放视频
[#if content.mediaPath?? && content.mediaType??] [#if content.mediaType=='WM'] <p> <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,1,5,217" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components..." width="300" height="220"> <param name="FileName" value="${content.mediaPath}"/> <param name="AutoSize" value="0"/> <param name="AutoStart" value="0"/> </object> </p> [/#if] [/#if] |
||
---|---|---|---|
级别: 举人
|
18# 发表于:2014-03-18 17:34:47 IP:121.40.*.*
我的是fly格式的视屏,完全把你的代码复制上去,还是出不来播放视频,连播放器都没看见,求解呀
|
||
---|---|---|---|
级别: 举人
|
19# 发表于:2014-03-18 17:36:42 IP:121.40.*.*
你截图中的ckplayer.html这个文件我项目中是没有的,也没有截图中你的<div id='video'>这段脚本代码
|
||
---|---|---|---|