Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\GuangWai\VideoPlay.aspx
??<%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.VideoPlay" %> <!DOCTYPE html> <html> <head> <title> <%= this.Video.Name %> -<%= this.Title %></title> <meta name="Description" content="<%= this.Video.Description.ToScriptTag() %> <%= this.Title %> " /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="description" content="<%= this.Video.Description.ToScriptTag() %>" /> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/jquery.1.9.js")%> <%= Import.ScriptTheme("js/excanvas.min.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.ScriptTheme("js/jquery-ui.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("/global.aspx")%> <%= Import.ScriptTheme("js/highcharts.js")%> <%-- <%= Import.ScriptTheme("js/libs/jquery.jqplot.min.js")%> <%= Import.ScriptTheme("js/libs/plugins/jqplot.lineRenderer.js")%> <%= Import.CSS("style/jquery.jqplot.min.css")%>--%> <%= Import.Script("js", "/global.js")%> <%= new HeadInstance(this) { CacheEnable = 60*60, }.ToHtml() %> <style> .video-tools-bar .btn { background: #F5F5F5; color: #222; border: 1px solid #EEE; } </style> </head> <body> <%= new BrowserTipInstance(this) { CacheEnable = 60*60, }.ToHtml() %> <%= new HeaderInstance(this) { CacheEnable = 60*60, HeaderItem = HeaderItem.VideoShow, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchVideoMaxInstance(this) { CacheEnable = 60*60, }.ToRenderHtml()) }.ToHtml()%> <% var AttachmentViaVideo = this.Video.FileName == "??????" ? false : true; if (AttachmentViaVideo) { %> <div class="content grayDarker video-page"> <div class="container"> <div class="row"> <div class="span12"> <%= new NavInstance(this) { CacheEnable = 60*60, }.Add(Define.Get("Client_??????"),WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.???????????????).ToString()))).ToHtml()%> </div> <!-- /span16 --> </div> <!-- /row --> <div class="row"> <div class="span12"> <p class="title video-title"><%= this.Video.Name %></p> <div class=" video-player-wrapper"> <div class="video-player player-layout"> <%= new VideoPlayPlayerInstance(this) { CacheEnable = 5, }.ToHtml() %> </div> <div class="video-anlyze"> <div class="tabs-right nav-sidetabs"> <div class=" "> <ul class="nav nav-tabs tabs_thick nav-tabs-wrapper"> <li class="active"><a href="#videoplayInfo" data-toggle="tab" title="??????"> <%= new HtmlSpan(){Class="ico ico-video_infos-ico"}%>??????</a></li> <li><a href="#videoplaytimeinfo" data-toggle="tab" title="????????"> <%= new HtmlSpan(){Class="ico ico-keynote-ico"}%>????????</a></li> <li><a href="#videoplaysw" data-toggle="tab" title="??????"> <%= new HtmlSpan(){Class="ico ico-ed_progress-ico"}%>??????</a></li> <% if (SettingGroup.HasVoiceComment) { %> <li> <a href="#commentsVideoApplication" data-toggle="tab" title="<%= Define.Get("??????") %>"> <%= new HtmlSpan(){Class="ico ico-discuss-ico"}%><%= Define.Get("??????") %></a> </li> <% } %> <%-- <li><a href="#videoplaytimeinfo" data-toggle="tab" title="????????">????????</a></li>--%> </ul> </div> <div class="of-h"> <div class="sider-right"> <div class="tab-content white"> <div class="tab-pane active" id="videoplayInfo"> <%= new VideoPlayInfoInstance(this) { CacheEnable = 5, }.ToHtml() %> <% if (SettingGroup.HasST) { if (this.Video.TeacherRatio != null && this.Video.StudentRatio != null) { %><div> <% if (this.Video.TeachingType != null) { %> <% } %> <%-- <li>??????????? <%= this.Video.TeacherRatio%>% </li> <li>??????????? <%= this.Video.StudentRatio%>% </li> <li>?????? <%= this.Video.TransferRatio%>%??30?????? </li>--%> <div style="clear: both; position: absolute; bottom: 5px;"> <div id="info_chart" style="width: 380px; height: 160px;"></div> </div> <script> var StudentRatio = parseFloat("<%= this.Video.StudentRatio%>"); var TeacherRatio = parseFloat("<%= this.Video.TeacherRatio %>"); $(function () { $('#info_chart').highcharts({ chart: { type: 'pie', //spacingTop: 10, marginTop: 0, marginBottom: 0, marginLeft: 10 }, plotOptions: { pie: { slicedOffset: 2, dataLabels: { enabled: true } } }, title: { margin: 0, floating: true, text: "????????????", style: { fontSize: '14px', lineHeight: '18px', color: '#ffffff' }, marginBottom: 0, verticalAlign: "middle" }, xAxis: { title: "???" }, series: [{ data: [ { name: "?????????", y: TeacherRatio, sliced: true, selected: true }, ['?????????', StudentRatio] ], step: 'right', name: '???' }] }); }); </script> </div> <% } } %> </div> <div class="tab-pane" id="videoplaytimeinfo"> <%= new VideoPlayTimeInfoInstance(this) { }.ToHtml()%> </div> <div class="tab-pane" id="videoplaysw"> <%= new VideoPlaySWInstance(this) { CacheEnable = 60, }.ToHtml()%> </div> <div class="tab-pane" id="videoplaylesson"> <%= new VideoPlayLessonInstance(this) { CacheEnable = 60, }.ToHtml()%> </div> <% if (SettingGroup.HasVoiceComment) { %> <div class="tab-pane " id="commentsVideoApplication"> <div id="commentVideoApplicationArea" class="commentArea"> <%= new VideoPlayTimeInfoOtherInstance(this) { }.ToHtml() %> </div> </div> <% } %> </div> </div> </div> </div> </div> </div> <!-- /span16 --> </div> </div> <!-- /row --> </div> </div> <div class="content gray"> <div class="container"> <div class="row"> <div class="span12"> <div class=""> <div class="video-tools-bar" id="video-tools-bar" style=" height:20px;margin-bottom: 20px;"> <div class="video-handlers" style="float: left;"> <% var VideoResourcePath = CreateInstance.VideoDao.GetResourcePath(this.Video); %> <% if (VideoResourcePath.SHD != "") { %> <%= new HtmlAnchor("?????") { Class = "btn SwitchBitrate", Href = "#SHD", OnClick = "SwitchBitrate('" + VideoResourcePath.SHD + "');return false;" }.Style(new { Display="none"})%> <% } %> <% if (VideoResourcePath.HD != "") { %> <%= new HtmlAnchor("???") { Class="btn SwitchBitrate", Href = "#HD", OnClick="SwitchBitrate('"+VideoResourcePath.HD+"');return false;" }.Style(new { Display="none"})%> <% } %> <% if (VideoResourcePath.NR != "") { %> <%= new HtmlAnchor("???") { Class="btn SwitchBitrate", Href = "#NR", OnClick="SwitchBitrate('"+VideoResourcePath.NR+"');return false;" }.Style(new { Display="none"})%> <% } %> <% if (VideoResourcePath.LW != "") { %> <%= new HtmlAnchor("???") { Class="btn SwitchBitrate", Href = "#LW", OnClick="SwitchBitrate('"+VideoResourcePath.LW+"');return false;" }.Style(new { Display="none"})%> <% } %> <div class="operate btn"> <!-- ?????? start --> <div class="share"> <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare"> <span class="bds_more">??????</span> <a class="bds_qzone" title="?????Q???" href="#"></a> <a class="bds_tsina" title="???????????" href="#"></a> <a class="bds_tqq" title="???????????" href="#"></a> <a class="bds_renren" title="?????????" href="#"></a> </div> <script type="text/javascript" id="bdshare_js" data="type=tools&uid=6786327"></script> <script type="text/javascript" id="bdshell_js"></script> <script type="text/javascript"> document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000) </script> </div> <!-- ?????? end --> </div> <div class="share_code"> <% if (this.Video.HasDownload == true || CreateInstance.UserTypeDao.HasDownloadVideo(this.UserCode)) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="icon icon-download" }+"???") { Title="???", Class = "btn ", OnClick="alert(\"?????????????????????????????????????????????????????????"+this.Video.FileName.Replace("'","").Replace("\"","")+"\")", Target = "_blank", Href = VideoResourcePath.VideoShow }%> <% } %> <%-- <label class="label_inline">??????:</label>--%> <input id="share_it_content" value="" type="hidden" /> <button id="copy-button" data-clipboard-text="Copy Me!" title="????????????" data-clipboard-target="share_it_content" class="btn"><i class=" icon icon-share"></i>????????????</button> </div> <%= new PVHistoryCollectInstance(this) { PKId= this.Video.Guid,PVTarget="Video" }.ToHtml() %> <%= new VideoPlayToMyAlbumInstance(this) { }.ToHtml() %> <%-- <%= new MarkingMarkInstance(this) { MKType=(int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.???,MKTarget=AVA.ResourcesPlatform.Model.Pub.MarkingMKTargetEnum.???.ToString(),MKGuid=this.Video.Guid }.ToHtml()%>--%> <% if (this.UserCode != null) { %> <div class="btn" style=" padding-left: 0; height: 20px;display: inline-block; *zoom: 1; *display: inline;"><%= new MarkingScoreInstance(this) {ScoreEnable= true, ScoreTarget=(int)AVA.ResourcesPlatform.Model.Pub.ScoreScoreTarget.Subject, ScoreGuid=this.Video.Guid }.ToHtml()%></div> <% } %> <script type="text/javascript"> // if (isFlash == false) { // $(".SwitchBitrate").show(); // } </script> <script> var jwplayerConfig = {}; $(document).ready(function () { if (undefined !== $.template) { if ($('#share_it_content').length > 0) { jwplayerConfig = { data: { base_path: '<%= Request.WebPath() %>', file: "<%= VideoResourcePath.VideoShow.RestoreHtml() %>", image: "<%= SettingGroup.VideoCoverL(this.Video) %>", player_path: '<%= Request.WebPath()+"/Tools/JWPlayer/AvaPlayer.swf" %>', cue_boy_path: '<%= Request.WebPath()+"/Tools/JWPlayer/cueboy.swf" %>', cue_url_path: '<%= Request.WebPath() %>/Tools/JWPlayer/Service/VideoTimeInfoXMLAdd.aspx?Guid=<%= this.Video.Guid %>&TemplateGuid=<%= new Random().Next() %>', cue_file_path: '<%= Request.WebPath() %>/Tools/JWPlayer/Service/VideoTimeInfoXML.aspx?Guid=<%= this.Video.Guid %>&TemplateGuid=<%= new Random().Next() %>', cue_title: encodeURI("<%= this.Video.Name.ToScriptChar() %>"), cue_introduction: "<%= this.Video.Description.ToScriptChar() %>", weike_path: '<%= Request.WebPath()+"/Tools/JWPlayer/cueboysw.swf" %>', weike_dockname: encodeURI('??????'), weike_title: "<%= this.Video.Name.ToScriptChar() %>", weike_introduction: "<%= this.Video.Description.ToScriptChar() %>", weike_dimensions: '100x50', weike_editable: false, weike_url: '<%= Request.WebPath() %>/Tools/JWPlayer/Service/VideoSWXMLAdd.aspx?Guid=<%= this.Video.Guid %>&TemplateGuid=<%= new Random().Next() %>', weike_file: "<%= Request.WebPath() %>/Tools/JWPlayer/Service/VideoSWXML.aspx?Guid=<%= this.Video.Guid %>&TemplateGuid=<%= new Random().Next() %>" } }; var markupAll = '<object id="mediaPlayer" name="mediaPlayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720px" height="576px" bgcolor="#000000" tabindex="0"><param name="movie" value="${player_path}" ><!--[if !IE]>--><object type="application/x-shockwave-flash" data="${player_path}" width="720px" height="576px"><param name="movie" value="${player_path}" ><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="seamlesstabbing" value="true"><param name="wmode" value="opaque"><param name="FlashVars" value="netstreambasepath=${base_path}&id=mediaPlayer&levels=%5B%5BJSON%5D%5D%5B%5D&file=${file}&plugins=${cue_boy_path}&cueboy.file=${cue_file_path}&cueboy.dockname=%E6%89%93%E7%82%B9%E4%BF%A1%E6%81%AF&cueboy.repeat=false&cueboy.title=${cue_title}&cueboy.introduction=${cue_introduction}&cueboy.pluginmode=FLASH&controlbar.position=over" /></object><!--<![endif]--><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="seamlesstabbing" value="true"><param name="wmode" value="opaque"><param name="FlashVars" value="netstreambasepath=${base_path}&id=mediaPlayer&levels=%5B%5BJSON%5D%5D%5B%5D&file=${file}&plugins=${cue_boy_path}&cueboy.file=${cue_file_path}&cueboy.dockname=%E6%89%93%E7%82%B9%E4%BF%A1%E6%81%AF&cueboy.repeat=false&cueboy.title=${cue_title}&cueboy.introduction=${cue_introduction}&cueboy.pluginmode=FLASH&controlbar.position=over"></object>'; // var temp = $.tmpl("shareItTemplate", jwplayerConfig).clone(); // var temparam = $.tmpl("shareItTemplate_param", jwplayerConfig).clone(); //$('#share_it_content').val($('<div>').append(temp).html().replace('</div></OBJECT>', '') + $('<div>').append(temparam).html() + '</object>'); var tm = $.template("shareIe", markupAll); $('#share_it_content').val(tm($, jwplayerConfig).join('')); // } } } }); </script> <script src='<%= Request.WebPath()+"/Tools/ZeroClipboard/ZeroClipboard.min.js" %>'></script> <script> var clip = new ZeroClipboard(document.getElementById("copy-button"), { moviePath: "<%= Request.WebPath()+"/Tools/ZeroClipboard/ZeroClipboard.swf" %>" }); clip.on('load', function (client) { // alert( "movie is loaded" ); }); clip.on('complete', function (client, args) { alert("??????"); }); </script> </div> </div> </div> </div> </div> </div> </div> <% } else { %> <div class="content grayDarker doc-page"> <div class="container"> <div class="row"> <div class="span12"> <%= new NavInstance(this) { CacheEnable = 60*60, }.Add(Define.Get("Client_??????"),WebUrl.Video()).ToHtml()%> </div> <!-- /span16 --> </div> <div class="row"> <div class="doc-page-wrapper"> <div class="doc-page-content" id=""> <%= new VideoPlayAttachmentInstance(this) { CacheEnable = 60,TransferControl="/videoplay/videoplayattachment_tabs" }.ToHtml()%> </div> <div class="doc-page-infos"> <%= new VideoPlayInfoInstance(this) { CacheEnable = 5, }.ToHtml() %> </div> </div> </div> </div> </div> <% } %> <div class="content "> <div class="container"> <div class="row"> <div class="video-coments m-t20"> <div class="flat flat-tabs"> <div class="head"> <ul class="nav nav-tabs tabs" id=""> <li class="active"> <a href="#comments" data-toggle="tab" title="<%= Define.Get("???") %>"><%= Define.Get("???") %></a> </li> <li> <a href="#commentsVideoAsk" data-toggle="tab" title="<%= Define.Get("??????") %>"><%= Define.Get("??????") %></a> </li> <% if (SettingGroup.HasST && CreateInstance.VideoSWPatternDao.Count(l => l.ParentVideo == this.Video) > 0) { %> <li id="thrkVideoSWPatternGrid" tabidx="rkVideoSWPatternGrid"> <a href="#divVideoSWPatternGrid" data-toggle="tab"><%= Define.Get("????????") %></a> </li> <% } %> <% if (AttachmentViaVideo) { %> <li> <a href="#videoplayattachment" data-toggle="tab"><%= Define.Get("???") %></a> </li> <% } %> </ul> </div> <div class="body"> <div class="tab-content"> <% if (AttachmentViaVideo) { %> <div class="tab-pane " id="videoplayattachment"> <%= new VideoPlayAttachmentInstance(this) { CacheEnable = 60,TransferControl="/videoplay/videoplayattachment_pills" }.ToHtml()%> </div> <% } %> <div class="tab-pane active" id="comments"> <div id="commentArea" class="commentArea"> <%= new CommentAddInstance(this) { TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> <%= new CommentListInstance(this) { TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> </div> </div> <div class="tab-pane" id="commentsVideoAsk"> <div id="commentAskArea" class="commentArea"> <%= new CommentAddInstance(this) {TransferControl="/Comment/CommentVideoAskAdd", TargetType = "VideoAsk", TargetGuid = this.Video.Guid }.ToHtml()%> <%= new CommentListInstance(this) {TransferControl="/Comment/CommentVideoAskList", TargetType = "VideoAsk", TargetGuid = this.Video.Guid }.ToHtml()%> </div> </div> <script> $(function () { $('#commentsandQA a').tab(); }) </script> <% if (CreateInstance.VideoSWPatternDao.Count(l => l.ParentVideo == this.Video) > 0) { %> <div class="tab-pane white" id="divVideoSWPatternGrid"> <div class=""> <div style="overflow: hidden; background: #fff;"> <div> <%= new VideoPlaySWPatternInstance(this) { CacheEnable = 60, Width=550, Height=450 }.ToHtml()%> </div> </div> </div> </div> <% } %> </div> </div> </div> </div> <div class="video-recomands m-t20"> <div class="flat min-flat"> <div class="head"> <div class="title"> ?????? </div> </div> <div class="body"> <div class="orders-list "> <%= new IndexVideoByInstance(this) { CacheEnable = 60, PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders" }.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <%= new FooterInstance(this) { CacheEnable = 60*60, }.ToHtml() %> <%= new PVHistoryAddInstance(this) { PKId = this.Video.Guid, PVTarget = "Video",PVType=1 }.ToHtml()%> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de