主题 : 请问上传视频怎么只有flv管用,其他格式的怎么*
级别: 童生
UID: 75616
积分:11 加为好友
威望: 0 精华: 0
主题:1 回复:3
注册时间:2015-05-18
在线时长:0
1#   发表于:2015-05-19 11:40:50  IP:58.185.*.*
其他多媒体怎么办比如flash,声音。后台点了上传,前台展示的时候没用
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
2#   发表于:2015-05-19 11:41:32  IP:111.19.*.*
你有改过我们的默认模板吗,前台有播放器代码吗
1
级别: 童生
UID: 75616
积分:11 加为好友
威望: 0 精华: 0
主题:1 回复:3
注册时间:2015-05-18
在线时长:0
3#   发表于:2015-05-19 13:15:57  IP:58.185.*.*
<!DOCTYPE HTML>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<title>${title} - ${site.name}</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="${content.tagStr!}" http-equiv="keywords" />
<meta content="${content.description!}" http-equiv="description" />
  <link rel="icon" href="${base}/favicon.ico" type="image/x-icon" />
<!--[if lt IE 9]>
<script src="${resSys}/html5.js" type="text/javascript"></script>
<![endif]-->
<link href="/${res}/css/html5.css" rel="stylesheet" type="text/css"/>

<script src="${resSys}/jquery.js" type="text/javascript"></script>
<script src="${resSys}/front.js" type="text/javascript"></script>
<script src="/${res}/js/common.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
Cms.attachment("${base}","${content.id}","${content.attachments?size}","attach");
Cms.viewCount("${base}","${content.id}");
Cms.siteFlow("${base}", location.href, document.referrer);
});
</script>
<body>
<div class="container">
[#include "../include/页头顶栏.html"/]
    [#include "../include/标志和搜索.html"/]
    [#include "../include/页头导航栏.html"/]
    <div class="position">
    <span>
    当前位置:<a href="${base}/">首页</a> > [#list channel.nodeList as n]<a target="_blank" href="${n.url}">${n.name}</a>[#if n_has_next] > [/#if][/#list] > 正文</span>
    <h1>[#if content.bold]<b>${content.title}</b>[#else]${content.title}[/#if]</h1>
    </div>
    <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>
    <div class="w700 mt10">
     <div class="rim06">
            <!--网友评论_Begin-->
            [#if channel.commentControl!=2]
            [#include "inc_comment_input.html"/]
            [#include "inc_comment_list.html"/]
            [/#if]
            <!--网友评论_End-->
        </div>
        <div class="clear"></div>
    </div>
    <div class="w270" style="diaplay:none">
     <div class="rim06 mt10">
         <div class="LanMu01-2">
                <div class="LanMu01-1"></div>
                <span>影片简介</span>
                <div class="LanMu01-3"></div>
            </div>
         <div class="tvxinxi">
                <ul>
                 <li><h1>${content.title!}</h1></li>
                 <li>主演:<span>${content.attr.Starring!}</span></li>
                 <li>导演:<span>${content.attr.Director!}</span></li>
                 <li>类型:<span>${content.attr.VideoType!}</span></li>
                 <li>简介:<span>${content.desc!}</span></li>
                </ul>
            </div>
        </div>
    </div>
    [#include "../include/页脚友情链接栏.html"/]
    [#include "../include/页脚信息栏.html"/]
</div>
</body>
</html>
级别: 童生
UID: 75616
积分:11 加为好友
威望: 0 精华: 0
主题:1 回复:3
注册时间:2015-05-18
在线时长:0
4#   发表于:2015-05-19 13:16:24  IP:58.185.*.*
是这个模板吧
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
5#   发表于:2015-05-19 13:17:08  IP:111.19.*.*
其他多媒体怎么办比如flash,声音。后台点了上传,前台展示的时候没用
 你上传的是什么格式的视频
路漫漫其修远兮,吾将上下而求索!
1 共1页