当前位置:百问九>百科词库>avi chunk viewer?

avi chunk viewer?

2023-04-09 12:42:38 编辑:zane 浏览量:647

avi chunk viewer?

};ec.fire('login.check', {isLogin: function(){new Submit({params: params,hasJump: false,beforeJump: function(){newWin.location.href = fLink;}});ec.fire('dialog.close'); }});} });T('.tang-footer').delegate('a.file-cbtn', 'click', function(e){e.preventDefault();ec.fire('dialog.close');log.send(T.object.extend(fileLog, {pos: 'cancel-btn',isLogin: 1}));if(wealthLess){location.reload();}});T('.tang-title').delegate('a.close-btn', '迟镇click', function(){log.send(T.object.extend(fileLog, {pos: 'close-btn',isLogin: 1}));if(wealthLess){location.reload();}});}});},noLogin: function(){var fileDialog = new Dialog({type: 'confirm',titleText: '下载文件',width: 440,height: 250,content: getCon('登录后查看'),buttons: {items: [{text: '登录下载',click: function(){ec.fire('login.log');log.send(T.object.extend(fileLog, {pos: 'accept-btn',isLogin: 0}));ec.fire('dialog.close');}},{text: '取消',btnClass: 'btn-32-white',click: function(){log.send(T.object.extend(fileLog, {pos: 'cancel-btn',isLogin: 0}));ec.fire('dialog.close');}}],align:'center',enable: true},onload: function(){T('.tang-title').delegate('a.close-btn', 'click', function(){log.send(T.object.extend(fileLog, {pos: 'close-btn',isLogin: 0}));});}});}});}else{window.open(fLink);}log.send({type: 2014,url: this.href,wealth: wealth,action: 'click',pos: 'file-download'});});}}else{if(!hasFind){invalidFileNum++;var owner = F.context('answers')[rid]['isCurrentUser'] == '薯山1' ? '您' : '回答者'数旦中;var suffix = F.context('answers')[rid]['isCurrentUser'] == '1' ? ',请重新上传或删除。' : '';html = ['','很抱歉,', owner, '上传的附件已失效', suffix, '',''].join('');F.context('answer-file')[parentId] = {'error': true,'fileInfo': {}}}}});}file.after(html).remove();});}if (fileIds.length) {T.ajax({url: '/api/pcs',type: 'GET',data: {'fsid': fileIds.join(), 'uid': uids.join(), 'shareid': shareIds.join(), 'qid': qids.join(), 'rid': rids.join() },async: true,dataType: 'json',complete: function(response, status){var output;if (status == 'success') {var res = T.json.parse(response.responseText);renderFiles(res);} else {renderFiles();}logPV({'uploadFileNum': invalidFileNum + '/' + fileIds.length,'showFileNum': fileShow.length});}});} else {logPV();}T.forEach(F.context('answers'),function(item,index){if(item.user){var eSid = item.user.openSiteId;if(eSid&&(eSid>=100000&&eSid<=999999)){T('#answer-'+index+' .content a,p[accuse="aRefer"] a').click(function(e){T.post('/c/oi_cv/cv', T.url.jsonToQuery({tp:205,rf:encodeURIComponent(document.referrer),ai:this.href,si:eSid}), function(res, status, ajx){});});}}});T('.ikqb_img').click(function(){log.send({type: 2038,bigimg: 'click'});});if(isRealtime){F.use('/static/common/ui/ut/ut.js', function(UT){UT.start(['userbar','header','wgt-ask','realtime-editor','wgt-realtime']);});}else{F.use('/static/common/ui/ut/ut.js', function(UT){UT.start(['userbar','header','wgt-ask','answer-editor','wgt-answers']);}); }ec.fire('log.init', {key: 2014,query: '#body a'});function logPV(data){var logOptions = {type: 2014,page: 'qb-new', action: 'entrance',qid: F.context('page')['qid'],cid: F.context('page')['cid'],view: F.context('page').isView,file: (data && data['uploadFileNum']) || '0/0', fileShow: data && data['showFileNum'] || '0' };var logData = { 'params' : [] };T('.wgt-ads').each(function(index, node){if (T(node).find('span').size() > 0){logData.params.push(['class=0', node.className].join('|'));}if (T(node).find('embed,img').size() > 0){logData.params.push(['class=1', node.className].join('|'));}});if (logData.params.length > 0) {T.object.extend(logOptions, logData);}setTimeout(function(){log.send(logOptions, true);}, 100);}if (F.context('egg')) {F.use('/static/question/ui/egg/egg.js', function(egg){egg.init(F.context('egg'));});}var logType,userData = F.context('user'),pageData = F.context('page');if ( userData.isLogin == "1" ) {if ( userData.isAsker == "1" ) {logType = 1;} else if ( userData.isReplyer == "1" ) {logType = 2;} else if ( pageData.isView == "1" ) {logType = 5;} else {logType = 6;}} else {logType = pageData.isView == "1" ? 3 : 4;}T(document.body).attr("alog-page-type", logType);F.use('/static/question/ui/comment/comment.js', function(comm){comm.getCount();});var grid68 = T('.qb-content'), qid = F.context('page')['qid'];T.each({'qb-content' : '.q-content a@', 'qb-supply-content' : '.q-supply-content a@', 'qb-bast-text' : '.wgt-best .best-text a@', 'qb-special-bast-text' : '.wgt-special .best-text a@', 'qb-recommend-text' : '.wgt-recommend .recommend-text a@', 'qb-answer-text' : '.answer-text a@', 'qb-replyask-ask' : '.ask+dd a', 'qb-replyask-reply' : '.reply+dd a', 'qb-best-thank' : '.thank pre a', 'qb-answer-refer' : '.answer-refer a' }, function(key, val){var aLink = grid68.find( val.replace(/\@$/, '[title!="点击查看大图"]') ),ua = T.platform.isIpad ? 'pad' : 'pc';if(aLink.length > 0){T(aLink).each(function(i,item){log.send({'type' : 2014,'page' : 'question','qid' : qid,'area' : key,'action': 'linkPv','ua' : ua,'text' : item.getAttribute('href'),'host' : item.getAttribute('href').split('/')[2]});});}aLink.click(function(){log.send({'type' : 2059,'area' : key,'qid' : qid,'action': 'linkClick','ua' : ua,'text' : this.getAttribute('href'),'host' : this.getAttribute('href').split('/')[2]});});grid68.find( val.replace(/\@$/, '') ).attr('rel', 'nofollow');});T('.recommend-text, .best-text, .answer-text, .replyask-content').each(function(i, answerText){T(answerText).find('pre[t="code"]').each(function(i, pre){var loadSyntax = function(){SyntaxHighlighter(pre);};T(pre).text(T(pre).html(T(pre).html().replace(//ig, '##IK_LINEBREAK##')).text().split('##IK_LINEBREAK##').join('\n'));T(pre).addClass('brush:'+T(pre).attr('l')+';toolbar:false;');if (window.SyntaxHighlighter) {SyntaxHighlighter.highlight(pre);T(answerText).find('.syntaxhighlighter .code .line').each(function(index, line){T(answerText).find('.syntaxhighlighter .gutter .line').eq(index).height(T(line).height());});} else {T.sio('https://gss0.bdstatic.com/70cFsj3f_gcX8t7mm9GUKT-xh_/libs/SyntaxHighlighter/shCore.min.js').callByBrowser(function(){SyntaxHighlighter.defaults['quick-code'] = false;SyntaxHighlighter.config.stripBrs = true;SyntaxHighlighter.highlight(pre);T(answerText).find('.syntaxhighlighter .code .line').each(function(index, line){T(answerText).find('.syntaxhighlighter .gutter .line').eq(index).height(T(line).height());});});}});T(answerText).find('ikvideo').each(function(i, video){var id = 'VIDEO_' + T.id(),src = T(video).attr('src'),sid;var container = T('').attr('id', id).insertBefore(T(video));if (src.indexOf('youku') > -1 && (sid = src.match(/sid\/(.*?)[\?\/]/))) {if (sid[1]) {src = 'http://player.youku.com/player.php/sid/'+sid[1]+'/v.swf';}}container.html('');});});T(window).on('load', function(e){if(!T.browser.ie || T.browser.ie > 7){T('.ikqb_img_alink').each(function(i, item){var img = T(item).find('.ikqb_img').get(0);var imgWidth = T(img).width(),imgHeight = T(img).height(),conOffX = T(item).parent().offset().left,imgOffX = T(img).offset().left,imgDiff = imgOffX - conOffX,imgWidthMax = 600 - imgDiff,tmpImgHeight = imgHeight > imgWidthMax ? imgWidthMax : imgHeight,tmpImgWidth = imgHeight > imgWidthMax ? (imgWidthMax*imgWidth/imgHeight) : imgWidth,imgOff = (tmpImgWidth - tmpImgHeight)/2;var html = ['','向左转','|','向右转',''].join('');T(item).before(html);T(item).prev().css({'left': imgDiff+'px'});T(img).css({'position': 'relative','top': 0,'left': imgDiff+'px'}).addClass('css-turn-0');T(item).prev().find('.img-turn-left').click(function(e){log.send({type: 2014,action: 'click',page: 'question',area: 'img-turn-left'});var hasFind = false;for(var i = 0; i < 360; i = i + 90){if(hasFind){return;}if(T(img).hasClass('css-turn-'+i)){hasFind = true;var index = i == 0 ? 360 : i;T(img).removeClass('css-turn-'+i).addClass('css-turn-'+(index-90));if(index-90 == 90 || index-90 == 270){if(!T.browser.ie || T.browser.ie > 9){T(img).css({'position': 'relative','top': imgOff+'px','left': -(imgOff - imgDiff)+'px'}); }if(imgHeight > imgWidthMax){T(img).height(tmpImgHeight);}T(item).height(tmpImgWidth);}else {T(img).css({'position': 'relative','top': 0,'left': imgDiff+'px'}); if(imgHeight > imgWidthMax){T(img).height(imgHeight);}T(item).height(imgHeight);}}}});T(item).prev().find('.img-turn-right').click(function(e){log.send({type: 2014,action: 'click',page: 'question',area: 'img-turn-right'});var hasFind = false;for(var i = 0; i < 360; i = i + 90){if(hasFind){return;}if(T(img).hasClass('css-turn-'+i)){hasFind = true;var index = i == 270 ? (-90) : i;T(img).removeClass('css-turn-'+i).addClass('css-turn-'+(index+90));if(index+90 == 90 || index+90 == 270){if(!T.browser.ie || T.browser.ie > 9){T(img).css({'position': 'relative','top': imgOff+'px','left': -(imgOff - imgDiff)+'px'}); }if(imgHeight > imgWidthMax){T(img).height(tmpImgHeight);}T(item).height(tmpImgWidth);}else {T(img).css({'position': 'relative','top': 0,'left': imgDiff+'px'}); if(imgHeight > imgWidthMax){T(img).height(imgHeight);}T(item).height(imgHeight);}}}});}); } });});100&&PDC.mark("wt",(PDC._render_start-jt.s))}}function clickHandle(e){var e=e||window.event;var target=e.target||e.srcElement;if(target.nodeName=="A"){var url=target.getAttribute("href");if(!/^#|javascript:/.test(url)){Cookie.set("PMS_JT",'({"s":'+(+new Date)+',"r":"'+document.URL.replace(/#.*/,"")+'"})');isset=true}}}if(document.attachEvent){document.attachEvent("onclick",clickHandle)}else{document.addEventListener("click",clickHandle,false)}}();PDC.ready(function(){PDC.mark("drt")});if(document.attachEvent){window.attachEvent("onload",function(){PDC.mark("lt")},false)}else{window.addEventListener("load",function(){PDC.mark("let");PDC._setFS&&PDC._setFS();PDC._opt.ready!==false&&PDC._load_analyzer()})}})();with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/hunter/zhidao.js?cdnversion='+~(new Date()/864e5)];

版权声明:文章由 百问九 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.baiwen9.com/tips/134499.html
热门文章
二维码