%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.VideoPlay.VideoPlayPlayerAVA" %>
这里为多媒体播放器,如果看到当前内容,请确认是否已经安装了AVA播放器,并在IE浏览器中浏览,并确认浏览器开启了脚本支持和AVA插件。
如未安装请点击下载
<%= new HtmlAnchor("AVAPlayer.zip") { Href= Request.WebPath() + "/Resource/AVAPlayer.zip"}%>
解压后安装
<%= new HtmlImg(Request.WebPath() + SettingGroup.VideoUploadPath + this.Video.Cover, this.Video.Name).Style(new { Width="100%" })%>
<%= this.Video.Description.RestoreHtml() %>
切换显示详细信息
<%if (Request.UserHostAddress == "::1"
|| Request.UserHostAddress == "127.0.0.1")
{
%>
<%= new HtmlAnchor("小窗口播放") {Class="btn SwitchBitrate", Href = Request.WebPath() + "/Upload/Video/" + this.Video.Guid + "/" + this.Video.FileName }%>
<%
}
else
{
%>
<%= new HtmlAnchor("小窗口播放") {Class="btn SwitchBitrate", Href = SettingGroup.MMSUrl + "/Video/" + this.Video.Guid + "/" + this.Video.FileName }%>
<%
}%>