芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/media/player/videojs/amd/build/videojs-flash-lazy.min.js
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b(require("video.js")):"function"==typeof define&&define.amd?define(["media_videojs/video-lazy"],b):a.videojsFlash=b(a.videojs)}(this,function(a){"use strict";function b(a){return a.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},a.streamFromParts=function(a,b){return a+"&"+b},a.streamToParts=function(a){var b={connection:"",stream:""};if(!a)return b;var c=a.search(/&(?!\w+=)/),d=void 0;return c!==-1?d=c+1:(c=d=a.lastIndexOf("/")+1,0===c&&(c=d=a.length)),b.connection=a.substring(0,c),b.stream=a.substring(d,a.length),b},a.isStreamingType=function(b){return b in a.streamingFormats},a.RTMP_RE=/^rtmp[set]?:\/\//i,a.isStreamingSrc=function(b){return a.RTMP_RE.test(b)},a.rtmpSourceHandler={},a.rtmpSourceHandler.canPlayType=function(b){return a.isStreamingType(b)?"maybe":""},a.rtmpSourceHandler.canHandleSource=function(b,c){var d=a.rtmpSourceHandler.canPlayType(b.type);return d?d:a.isStreamingSrc(b.src)?"maybe":""},a.rtmpSourceHandler.handleSource=function(b,c,d){var e=a.streamToParts(b.src);c.setRtmpConnection(e.connection),c.setRtmpStream(e.stream)},a.registerSourceHandler(a.rtmpSourceHandler),a}function c(a){var b=a.charAt(0).toUpperCase()+a.slice(1);v["set"+b]=function(b){return this.el_.vjs_setProperty(a,b)}}function d(a){v[a]=function(){return this.el_.vjs_getProperty(a)}}a="default"in a?a["default"]:a;var e,f="5.4.1",g="2.0.0",h="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};e="undefined"!=typeof window?window:"undefined"!=typeof h?h:"undefined"!=typeof self?self:{};for(var i=e,j=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},k=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)},l=function(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b},m=a.getComponent("Tech"),n=a.dom,o=a.url,p=a.createTimeRange,q=a.mergeOptions,r=i&&i.navigator||{},s=function(a){function b(c,d){j(this,b);var e=l(this,a.call(this,c,d));return c.source&&e.ready(function(){this.setSource(c.source)},!0),c.startTime&&e.ready(function(){this.load(),this.play(),this.currentTime(c.startTime)},!0),i.videojs=i.videojs||{},i.videojs.Flash=i.videojs.Flash||{},i.videojs.Flash.onReady=b.onReady,i.videojs.Flash.onEvent=b.onEvent,i.videojs.Flash.onError=b.onError,e.on("seeked",function(){this.lastSeekTarget_=void 0}),e}return k(b,a),b.prototype.createEl=function(){var a=this.options_;a.swf||(a.swf="//vjs.zencdn.net/swf/"+f+"/video-js.swf");var c=a.techId,d=q({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:a.autoplay,preload:a.preload,loop:a.loop,muted:a.muted},a.flashVars),e=q({wmode:"opaque",bgcolor:"#000000"},a.params),g=q({id:c,name:c,"class":"vjs-tech"},a.attributes);return this.el_=b.embed(a.swf,d,e,g),this.el_.tech=this,this.el_},b.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},b.prototype.pause=function(){this.el_.vjs_pause()},b.prototype.src=function(a){return void 0===a?this.currentSrc():this.setSrc(a)},b.prototype.setSrc=function(a){var b=this;a=o.getAbsoluteURL(a),this.el_.vjs_src(a),this.autoplay()&&this.setTimeout(function(){return b.play()},0)},b.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},b.prototype.setCurrentTime=function(b){var c=this.seekable();c.length&&(b=b>c.start(0)?b:c.start(0),b=b
=0?c:1/0},b.prototype.load=function(){this.el_.vjs_load()},b.prototype.poster=function(){this.el_.vjs_getProperty("poster")},b.prototype.setPoster=function(){},b.prototype.seekable=function(){var a=this.duration();return 0===a?p():p(0,a)},b.prototype.buffered=function(){var a=this.el_.vjs_getProperty("buffered");return 0===a.length?p():p(a[0][0],a[0][1])},b.prototype.supportsFullScreen=function(){return!1},b.prototype.enterFullScreen=function(){return!1},b.prototype.getVideoPlaybackQuality=function(){var a=this.el_.vjs_getProperty("getVideoPlaybackQuality");return i.performance&&"function"==typeof i.performance.now?a.creationTime=i.performance.now():i.performance&&i.performance.timing&&"number"==typeof i.performance.timing.navigationStart&&(a.creationTime=i.Date.now()-i.performance.timing.navigationStart),a},b}(m),t=["rtmpConnection","rtmpStream","preload","defaultPlaybackRate","playbackRate","autoplay","loop","controls","volume","muted","defaultMuted"],u=["networkState","readyState","initialTime","startOffsetTime","paused","ended","videoWidth","videoHeight"],v=s.prototype,w=0;w
=10},m.withSourceHandlers(s),s.nativeSourceHandler={},s.nativeSourceHandler.canPlayType=function(a){return a in s.formats?"maybe":""},s.nativeSourceHandler.canHandleSource=function(a,b){function c(a){var b=o.getFileExtension(a);return b?"video/"+b:""}var d=void 0;return d=a.type?a.type.replace(/;.*/,"").toLowerCase():c(a.src),s.nativeSourceHandler.canPlayType(d)},s.nativeSourceHandler.handleSource=function(a,b,c){b.setSrc(a.src)},s.nativeSourceHandler.dispose=function(){},s.registerSourceHandler(s.nativeSourceHandler),s.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},s.onReady=function(a){var b=n.$("#"+a),c=b&&b.tech;c&&c.el()&&s.checkReady(c)},s.checkReady=function(a){a.el()&&(a.el().vjs_getProperty?a.triggerReady():this.setTimeout(function(){s.checkReady(a)},50))},s.onEvent=function(a,b){var c=n.$("#"+a).tech,d=Array.prototype.slice.call(arguments,2);c.setTimeout(function(){c.trigger(b,d)},1)},s.onError=function(a,b){var c=n.$("#"+a).tech;return"srcnotfound"===b?c.error(4):void c.error("FLASH: "+b)},s.version=function(){var a="0,0,0";try{a=new i.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(b){try{r.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=(r.plugins["Shockwave Flash 2.0"]||r.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(c){}}return a.split(",")},s.embed=function(a,b,c,d){var e=s.getEmbedCode(a,b,c,d),f=n.createEl("div",{innerHTML:e}).childNodes[0];return f},s.getEmbedCode=function(a,b,c,d){var e='
'}),d=q({data:a,width:"100%",height:"100%"},d),Object.getOwnPropertyNames(d).forEach(function(a){h+=a+'="'+d[a]+'" '}),""+e+h+">"+g+""},b(s),m.getTech("Flash")?(a.log.warn("Not using videojs-flash as it appears to already be registered"),a.log.warn("videojs-flash should only be used with video.js@6 and above")):a.registerTech("Flash",s),s.VERSION=g,s});