<%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.SubjectPlay" %> <%= this.Subject.Name %> - <%= this.Video.Name %> - <%= this.Title %> <%= 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.ScriptTheme("js/swfobject.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.ScriptTheme("js/excanvas.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")%> <%= Import.ScriptTheme("js/libs/jquery.treeview.min.js")%> <%= Import.ScriptTheme("js/libs/jquery.MetaData.js")%> <%= Import.ScriptTheme("js/libs/jquery.rating.pack.js")%> <%= Import.ScriptTheme("js/libs/jquery.stupid.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.CSS("style/jquery.rating.css")%> <%= Import.CSS("style/jquery.stupid.css")%> <%= new HeadInstance(this) { CacheEnable = 60*60, }.ToHtml() %> <%= Import.ScriptTheme("js/highcharts.js")%> <%= new BrowserTipInstance(this) { CacheEnable = 60*60, }.ToHtml() %> <%= new HeaderInstance(this) { CacheEnable = 60*60, HeaderItem = HeaderItem.SubjectShow, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchSubjectMaxInstance(this) { CacheEnable = 60*60, }.ToRenderHtml()) }.ToHtml()%> <% var AttachmentViaVideo = this.Video.FileName == "暂无文件" ? false : true; if (AttachmentViaVideo) { %>
<%= new NavInstance(this) { CacheEnable = 60*60, }.Add(this.Subject.Name,WebUrl.SubjectView(this.Subject.Guid)).Add(this.Video.Name,null).ToHtml()%>

<%= this.Video.Name %>

<%= new VideoPlayPlayerInstance(this) {CacheEnable = 5, TransferControl="/SubjectPlay/VideoPlayPlayer" }.ToHtml() %>
<% var SubjectSTUserList = this.Subject._ListSTUser; var isSTUser = false; for (int i = 0; i <= SubjectSTUserList.Count - 1; i++) { if (SubjectSTUserList[i].ParentUser.Guid == this.UserCode) { isSTUser = true; break; } } var SubjectUser = this.Subject._ListSubjectUser; var isUser = false; for (int i = 0; i <= SubjectUser.Count - 1; i++) { if (SubjectUser[i].ParentUser.Guid == this.UserCode) { isUser = true; break; } } %>
<% } else { %>
<%= new NavInstance(this) { CacheEnable = 60*60, }.Add(Define.Get("Client_优课点播"),WebUrl.Video()).ToHtml()%>
<%= new VideoPlayAttachmentInstance(this) { CacheEnable = 60,TransferControl="/videoplay/videoplayattachment_tabs" }.ToHtml()%>
<%= new SubjectPlayInfoInstance(this) { CacheEnable = 5, }.ToHtml() %>
<% } %>
<%= new CommentAddInstance(this) { TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> <%= new CommentListInstance(this) { TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%>
<%--专家评论 缺ajax--%> <%--<%= new SubjectPlayVideoScoreCommonInstance(this) { }.ToHtml() %>--%> <%--<% if (this.UserCode != null) { %> <%= new CommentAddInstance(this) {TransferControl="/Comment/LiveCommentAdd", TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> <% } %> <%= new CommentListInstance(this) {TransferControl="/Comment/LiveCommentList", TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%>--%>
" id="UserComments">
<%= new SubjectPlayVideoScoreCommonInstance(this) { }.ToHtml() %>
<% if (AttachmentViaVideo) { %>
<%= new VideoPlayAttachmentInstance(this) { CacheEnable = 60 }.ToHtml()%>
<% } %> <% if (this.Subject.STEnable == true) { %> <%-- <% if (isSTUser) { %>
<%= new SubjectPlaySTScoreItemInstance(this) { CacheEnable = 60, }.ToHtml() %>
<%= new VideoPlaySWPatternGridInstance(this) { CacheEnable = 60, Width=10 }.ToHtml()%>
<% } %>--%> <% if (CreateInstance.VideoSWPatternDao.Count(l => l.ParentVideo == this.Video) > 0) { %>
<%= new VideoPlaySWPatternInstance(this) { CacheEnable = 60, Width=550, Height=450 }.ToHtml()%>
<%} %> <% } %>
作者的其他视频
<% //是否开启了浏览范围控制 bool videoRangeControl = SettingGroup.Setting().VideoRangeControl; %> <%= new IndexVideoByInstance(this) { CacheEnable = 60, PageSize = 10,ParentUserGuid= this.Video.ParentUser.Guid, OrderBy = AVA.ResourcesPlatform.Config.OrderType.周播放量, AreaPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeAreaPageViewEnum.允许).ToString(), TransferControl = "/Index/IndexVideoByHot_orders" }.ToHtml()%>
<%= new FooterInstance(this) { CacheEnable = 60*60, }.ToHtml() %> <%= new PVHistoryAddInstance(this) { PKId = this.Subject.Guid, PVTarget = "Subject",PVType=1 }.ToHtml()%>