$(function(){$("#videoInput").uploadify({uploader:"uploadify/uploadify.swf",script:escape("?app=video&controller=video&action=upload&auth="+ct.getCookie(COOKIE_PRE+"auth")),method:"POST",fileDataName:"ctvideo",fileDesc:"\u6ce8\u610f:\u60a8\u53ea\u80fd\u4e0a\u4f20flv,swf,avi,wmv,rm,rmvb\u683c\u5f0f\u7684\u6587\u4ef6!",fileExt:"*.swf;*.flv;*.avi;*.wmv;*.rm;*.rmvb;",cancelImg:"images/cancel.png",queueID:"myvideo",buttonImg:"images/videoupload.gif",width:"80",height:"22",auto:true,multi:false,onOpen:function(a,
c){$("#progress").show();$("#cancleupload").attr("href",'javascript:$("#videoInput").uploadifyCancel("'+c+'")')},onProgress:function(a,c,d,b){$("#nowprogress").width(b.percentage+"%");$("#progpercent").html(b.percentage+"%")},onComplete:function(a,c,d,b){$("#progress").fadeOut();a=b.split("|");$("#aid").val(a[0]);a[1]=UPLOAD_URL+a[1];$("#video").val(a[1]);$("#ptline").show()},onCancel:function(){$("#progress").fadeOut()}})});
