文件操作 - video.min.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/themes/E17/common/js/elements/video.min.js
编辑文件内容
(function($,undefined){var _window=window,_document=document;_window.$us.YTPlayers=_window.$us.YTPlayers||{};"use strict";$us.wVideo=function(container){this.$container=$(container);this.$videoH=$('.w-video-h',this.$container);this.data={};if(this.$container.is('[onclick]')){this.data=this.$container[0].onclick()||{};if(!$us.usbPreview)this.$container.removeAttr('onclick')} this._events={overlayClick:this._overlayClick.bind(this),};if(this.$container.is('.with_overlay')){this.$container.one('click','> *',this._events.overlayClick)}else if(!$.isEmptyObject(this.data)){this.insertPlayer()}};$.extend($us.wVideo.prototype,{_overlayClick:function(e){e.preventDefault();this.insertPlayer()},insertPlayer:function(){var data=$.extend({player_id:'',player_api:'',player_html:''},this.data||{});if(data.player_api&&!$('script[src="'+data.player_api+'"]',_document.head).length){$('head').append('<script src="'+data.player_api+'"></script>')} this.$videoH.html(data.player_html);if(this.$container.is('.with_overlay')){this.$container.removeAttr('style').removeClass('with_overlay')}}});$.fn.wVideo=function(options){return this.each(function(){$(this).data('wVideo',new $us.wVideo(this,options))})};$(function(){$('.w-video').wVideo()})})(jQuery)
修改文件时间
将文件时间修改为当前时间的前一年
删除文件