/// /// 视频 [Pub_Video] Ajax提交类 /// var VideoAjax = new Object(); /// /// 视频 [Pub_Video] 获取记录信息 /// VideoAjax.GetInfo = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.Get", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 视频 [Pub_Video] 添加记录 /// VideoAjax.Insert = function (form, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.Insert", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 视频 [Pub_Video] 修改记录 /// VideoAjax.Update = function (form, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.Update", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 视频 [Pub_Video] 删除记录 /// VideoAjax.Delete = function(key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.Delete", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 视频 [Pub_Video] 批量删除记录 /// VideoAjax.BatchDelete = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.BatchDelete", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /******************************************* * 以下为自定义方法 *******************************************/ /// /// 对视频进行转换 /// VideoAjax.ConvertVideo = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.ConvertVideo", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; // /// 对视频批量转换 /// VideoAjax.BatctVideoConvert = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.BatctVideoConvert", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 对视频进行上传 /// VideoAjax.DomainUpload = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.DomainUpload", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); } /// /// 用户[Pub_Video] 批量审核通过 /// VideoAjax.BatchExamine = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.BatchExamine", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 用户[Pub_Video] 批量审核不通过 /// VideoAjax.BatchExamineUn = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.VideoAjax.BatchExamineUn", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); };