*标题: |
<%= new HtmlText("Name", ViewData.Val("ParentApplication.Title", this.RecordVideo), 256) { }%>
<%= new HtmlYKTip("Name")%>
|
主讲人: |
<%= new HtmlText("Spreaker", ViewData.Val("ParentApplication.Speaker", this.RecordVideo), 256) { }%>
|
<%
if (this.RecordVideo == null)
{
%>
*视频文件: |
<%= new HtmlHidden("FileName", null) { Class = "ipt-t ipt-t-dft " }%>
<%= new HtmlYKTip("FileName")%>
<%= new SingleUploadInstance(this) { UploadTag = "FileName", Accept = CreateInstance.DomainInfoDao.THIS().UploadVideoType.ToUpper().Replace("*","").Replace(";",","), UploadControlName="上传视频文件"}.ToHtml()%>
<%-- <%= new SingleUploadInstance(this) { UploadTag = "FileName", InitParams = "FileFilter=" + CreateInstance.DomainInfoDao.THIS().UploadVideoType.ToUpper().Replace("*.","") + "多媒体文件格式(" + CreateInstance.DomainInfoDao.THIS().UploadVideoType + ")|" + CreateInstance.DomainInfoDao.THIS().UploadVideoType + ",DefaultColor=#F5F5F5F5,SelectFiles=选择上传的视频文件,Upload=确认上传视频" }.ToHtml()%> --%>
<%= new HtmlHidden("VideoUploadPath",SettingGroup.VideoUploadPath) %>
请上传 mp4; wmv; asf; avi; flv 支持H264格式视频
<%= new HtmlAnchor("建议先转换视频后再上传,点击下载") { Href=Request.WebPath()+"/Resource/ConvertTools.zip" }%>
|
<%
}
else
{
//说明是转换过来的
%>
*视频文件: |
<%= new HtmlHidden("RecordVideoGuid", this.RecordVideo.Guid) { }%>
<%= new HtmlText("FileName", this.RecordVideo.FileName, 256) { }%>
<%= new HtmlHidden("VideoUploadPath",SettingGroup.VideoUploadPath) %>
<%= new HtmlHidden("RecordVideoUploadPath",SettingGroup.RecordVideoUploadPath + this.RecordVideo.ParentUser.Guid) %>
<%= new HtmlYKTip("FileName")%>
|
<%
}
%>
*视频字幕: |
<%= new HtmlHidden("CaptionsFile", null) { Class = "ipt-t ipt-t-dft " }%>
<%= new HtmlYKTip("CaptionsFile")%>
<%= new SingleUploadInstance(this) { UploadTag = "CaptionsFile", Accept = "*.srt", UploadControlName="上传字幕"}.ToHtml()%>
<%-- <%= new SingleUploadInstance(this) { UploadTag = "CaptionsFile", InitParams = "FileFilter=*.srt|*.srt,DefaultColor=#F5F5F5F5,SelectFiles=选择上传的视频字幕,Upload=确认上传字幕" }.ToHtml()%> --%>
<%= new HtmlHidden("VideoUploadPath",SettingGroup.VideoUploadPath) %>
|
*视频封面: |
|
*文件类型: |
<%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoFileTypeEnum), Disabled = true }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(ViewData.Val("FileType", this.RecordVideo).ToString(null))%>
|
*文件大小: |
<%= new HtmlText("FileSize", ViewData.Val("FileSize", this.RecordVideo).ToString(null)) { ReadOnly = true }%>
|
*学科: |
<%= new HtmlSelect("ParentCategory", "Name", "Guid", "Guid") { Option = this.ListAllCategory, DefaultSelectValue = "", OnChange = "GetTextbook();",SelectedValue = ViewData.Val("Guid",this.RecordCategory) }.InsertOption("::选择::", "", 0) %>
<%= new HtmlYKTip("ParentCategory") { }%>
|
|
当视频是针对课本的某一单元课时,请先选择课本学科、所属出版社和年级 |
*出版社: |
<%= new HtmlSelect("ParentPress", "Name", "Guid", "Guid") { Option = this.ListAllPress, DefaultSelectValue = "", OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentPress") { }%>
|
*年级: |
<%= new HtmlSelect("ParentGrade", "Name", "Guid", "Guid") { Option = this.ListAllGrade, DefaultSelectValue = "", OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentGrade") { }%>
|
*课本: |
|
*课元课: |
|
简介: |
<%= new HtmlTextArea("Summary", null, 2000)%>
|
*录制时间: |
<%--默认当前时间--%>
<%= new HtmlText("RecTime", ViewData.Val("StartTime", this.RecordVideo).ToDateTimeN(DateTime.Now).ToShortDate(), 200) { }.Style(new { Width = "120px" })%>
<%= new HtmlYKTip("RecTime")%>
|
*时长(秒): |
<%--这里默认取个时长--%>
<%= new HtmlText("Period", ViewData.Val("RecLen", this.RecordVideo).ToString(null), 200) { DefaultValue="0" }.Style(new { Width = "120px" })%>
<%= new HtmlYKTip("Period")%>
|
*版权: |
<%= new HtmlRadio("Copyright", true, 0, null) { ID = "Video_Copyright_0" }.Style(new { Width = "auto" })%>
<%= new HtmlRadio("Copyright", 1, null) { ID = "Video_Copyright_1" }.Style(new { Width = "auto" })%>
<%= new HtmlYKTip("Copyright") %>
|
*观看权限: |
<%= new HtmlRadio("Share", 0, null) { ID = "Video_Share_0" }.Style(new { Width = "auto" })%>
<%= new HtmlRadio("Share", 1, null) { ID = "Video_Share_1" }.Style(new { Width = "auto" })%>
<%= new HtmlRadio("Share", true, 2, null) { ID = "Video_Share_2" }.Style(new { Width = "auto" })%>
<%= new HtmlYKTip("Share") %>
|
允许下载: |
<%= new HtmlCheckBox("HasDownload",false,1, 0)%>
|
详细描述: |
<%= new HtmlTextArea("Description", null, 2000)%>
|
*排序号: |
<%= new HtmlText("SortNumber", 1, 4) { }%>
<%= new HtmlYKTip("SortNumber") %>
|
标签用空格(" ")分开: |
<%= new HtmlText("VideoTag", null, 256) { }%>
|
课程分类: |
<%
for (var i = 0; i <= this.ListAllChannel.Count - 1; i++)
{
var channel = this.ListAllChannel[i];
string parentChannelGuid = "";
if (channel.ParentChannel != null)
{
parentChannelGuid = channel.ParentChannel.Guid;
%>
-
<%= new HtmlCheckBox("Channel", false, channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelItem ChannelItemChannel" + parentChannelGuid, Lang = channel.ParentChannel.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
else
{
%>
-
<%= new HtmlCheckBox("Channel", false , channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelMaster ChannelMaster" + channel.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
}
%>
|
|
|
|
<%= new HtmlSubmit("确认上传", "VideoUpload", "VideoUploadClient(this);").Style(new { Width = "100px" })%> |