<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyVideoSWEdit" %> <%= new MyVideoNavInstance(this) { Local = MyVideoNavItem.教学环节, Video = this.Video }.ToHtml() %>
我的视频:视频教学环节编辑

<% if (Has(this.ViewData["_VideoSW"]) == false) { //当为添加时才显示 %> <% } %>
<%--
这里为多媒体播放器,如果看到当前内容,请确认浏览器开启了脚本支持和Flash插件。
--%>

*开始点(时:分:秒): <%= new HtmlText("Seconds", AVA.ResourcesPlatform.Config.Helper.SecondToTime(this.ViewData["_VideoSW.Seconds"].ToDouble()/1000)) { Class = "ipt-t ipt-t-dft ", OnDblClick = "try{this.value = AVAGetRecLength();}catch (ex) { }" }%> <%= new HtmlButton("取当前时间","try{$('#frmVideoSWEdit [Name=Seconds]').val(AVAGetRecLength());}catch (ex) { }") %> <%= new HtmlYKTip("Seconds") %>
*教学环节: <%= new HtmlSelect("SW", "Value", "Key", "Key") { Option=CreateInstance.VideoSWDao.Items() }.InsertOption(DefineEnum.选择.Define(),"",0).SelectValue(this.ViewData["_VideoSW.SW"])%> <%= new HtmlYKTip("SW") %>
<%= new HtmlHidden("Key",this.KEY)%> <%= new HtmlHidden("ParentVideo", this.Video.Guid)%> <%= new HtmlSubmit(IN(this.ViewData["_VideoSW"], "修改教学环节", "添加教学环节"), "VideoSWEdit", "VideoSWEditClient(this);").Style(new { Width = "100px" })%> <% if (Has(this.ViewData["_VideoSW"]) == false) { //当为添加时才显示 %> <%= new HtmlButton("返回列表") { OnClick = "window.location.href = '" + WebUrl.MyVideoSWList(this.Video.Guid) + "';" }.Style(new { Width = "100px" })%> <% } %>