Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\ShiXun\AlbumPlay.aspx
??<%@ Page Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.AlbumPlay" %> <!DOCTYPE html> <html> <head> <title> <%= this.Album.Name %> - <%= this.Video.Name %> - <%= this.Title %></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" /> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/jquery.1.9.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.Script("js", "/global.js")%> <%= new HeadInstance(this) { }.ToHtml() %> <%= Import.ScriptTheme("js/highcharts.js")%> </head> <body> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { CacheEnable = 60, HeaderItem = HeaderItem.AlbumShow, Local = this.Album.ParentAlbumLevel.Guid, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchAlbumMaxInstance(this) { }.ToHtml()) }.ToHtml()%> <div class="content video-page"> <div class="container"> <!-- /row --> <div class="row"> <div class="span12"> <div class="videoplay-box m-t20 player-layout"> <div class="head"> <div class="head-breadcrumb"> <%= new NavInstance(this) { }.Add(this.Album.ParentAlbumLevel.Name, WebUrl.Album(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentAlbumLevel",this.Album.ParentAlbumLevel.Guid))) .Add(this.Album.Name,WebUrl.AlbumView(this.Album.Guid)).Add(this.Video.Name,null).ToHtml()%> </div> <div class="title"> <p class="video-title"><%= this.Video.Name %></p> </div> </div> <div class="body"> <%= new VideoPlayPlayerInstance(this) { }.ToHtml() %> <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 class="foot"> <div class="jiaozhi"></div> </div> </div> </div> </div> <div class="row"> <div class="span9 m-t20"> <div class="box navtabs-box"> <div class="head"> <ul class="nav nav-tabs "> <li class="active"><a href="#videoplayInfo" data-toggle="tab" title="??????">??????</a></li> <li class=""> <a href="#comments" data-toggle="tab" title="??????">??????</a> </li> <%-- <li class="" style="width:25%"> <a href="#teacherInfo" data-toggle="tab" title="???????">???????</a> </li>--%> <li style=""><a href="#videoplayattachment" data-toggle="tab" title="???">???</a></li> </ul> </div> <div class="body"> <div class="tab-content "> <div class="tab-pane " 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="videoplayattachment"> <%= new VideoPlayAttachmentInstance(this) { TransferControl="/videoplay/videoplayattachment_pills"}.ToHtml()%> </div> <div class="tab-pane active" id="videoplayInfo"> <%= new VideoPlayInfoInstance(this) { }.ToHtml() %> </div> <div class="tab-pane" id="teacherInfo"> <div class="body teacher-info"> <div class="avatar "> <%= new HtmlImg(SettingGroup.UserHeadPortraitL(this.Video.Author)) { OnErrorImg=SettingGroup.DefauteUserMaxImg ,Class="img-circle", Width=120, Height=120}%> </div> <div class="brief"> <h1>????????<span> <%= this.Video.ParentUser.TrueName %> </span><%= this.Video.ParentUser.ParentUserType.Name %></h1> <div class="teacher-brief-infos"> <p> ????????<span><%= CreateInstance.VideoDao.DayVideoCount(new AVA.ResourcesPlatform.Config.TotalParameter() { UserGuid = this.Video.ParentUser.Guid }) %> </span> <br /> <%= Define.Get("Client_???")%>?????<span><%= CreateInstance.AlbumDao.DayAlbumCount(new AVA.ResourcesPlatform.Config.TotalParameter() { UserGuid = this.Video.ParentUser.Guid }) %> </span> <br /> </p> <%--????????<span>12</span></p>--%> </div> <div class="brief-text" style="overflow-x: hidden; overflow-y: auto; height: 120px;"> <p>????????<%=this.Video.ParentUser.Introduction %></p> </div> </div> </div> </div> </div> </div> </div> </div> <div class="span3 m-t20"> <div class="box relatived-video-box"> <div class="head"> <div class="title"> ????????? </div> </div> <div class="body"> <div class="side-list videolist-heng"> <%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot" }.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <%= new FooterInstance(this) { }.ToHtml() %> <%= new PVHistoryAddInstance(this) { PKId = this.Album.Guid, PVTarget = "Album",PVType=1 }.ToHtml()%> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de