/* * Player Plugin for jQuery JavaScript Library * http://www.jplayer.org * * Copyright (c) 2009 - 2014 Happyworm Ltd * Licensed under the MIT license. * http://opensource.org/licenses/MIT * * Author: Mark J Panaghiston * Version: 2.9.2 * Date: 14th December 2014 */ /* Support for Zepto 1.0 compiled with optional data module. * For AMD or NODE/CommonJS support, you will need to manually switch the related 2 lines in the code below. * Search terms: "jQuery Switch" and "Zepto Switch" */ (function(b,l){"function"===typeof define&&define.amd?define(["jquery"],l):"object"===typeof exports?l(require("jquery")):b.jQuery?l(b.jQuery):l(b.Zepto)})(this,function(b,l){b.fn.dlePlayerVideo=function(a){var c="string"===typeof a,d=Array.prototype.slice.call(arguments,1),f=this;a=!c&&d.length?b.extend.apply(null,[!0,a].concat(d)):a;if(c&&"_"===a.charAt(0))return f;c?this.each(function(){var c=b(this).data("dlePlayerVideo"),e=c&&b.isFunction(c[a])?c[a].apply(c,d):c;if(e!==c&&e!==l)return f=e,!1}): this.each(function(){var c=b(this).data("dlePlayerVideo");c?c.option(a||{}):b(this).data("dlePlayerVideo",new b.dlePlayerVideo(a,this))});return f};b.dlePlayerVideo=function(a,c){if(arguments.length){this.element=b(c);this.options=b.extend(!0,{},this.options,a);var d=this;this.element.bind("remove.dlePlayerVideo",function(){d.destroy()});this._init()}};"function"!==typeof b.fn.stop&&(b.fn.stop=function(){});b.dlePlayerVideo.emulateMethods="load play pause";b.dlePlayerVideo.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate"; b.dlePlayerVideo.emulateOptions="muted volume";b.dlePlayerVideo.reservedEvent="ready flashreset resize repeat error warning";b.dlePlayerVideo.event={};b.each("ready setmedia flashreset resize repeat click error warning loadstart progress suspend abort emptied stalled play pause loadedmetadata loadeddata waiting playing canplay canplaythrough seeking seeked timeupdate ended ratechange durationchange volumechange".split(" "),function(){b.dlePlayerVideo.event[this]="dlePlayerVideo_"+this});b.dlePlayerVideo.htmlEvent= "loadstart abort emptied stalled loadedmetadata canplay canplaythrough".split(" ");b.dlePlayerVideo.pause=function(){b.dlePlayerVideo.prototype.destroyRemoved();b.each(b.dlePlayerVideo.prototype.instances,function(a,b){b.data("dlePlayerVideo").status.srcSet&&b.dlePlayerVideo("pause")})};b.dlePlayerVideo.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var g=function(){this.init()};g.prototype={init:function(){this.options={timeFormat:b.dlePlayerVideo.timeFormat}}, time:function(a){var b=new Date(1E3*(a&&"number"===typeof a?a:0)),d=b.getUTCHours();a=this.options.timeFormat.showHour?b.getUTCMinutes():b.getUTCMinutes()+60*d;b=this.options.timeFormat.showMin?b.getUTCSeconds():b.getUTCSeconds()+60*a;d=this.options.timeFormat.padHour&&10>d?"0"+d:d;a=this.options.timeFormat.padMin&&10>a?"0"+a:a;b=this.options.timeFormat.padSec&&10>b?"0"+b:b;d=""+(this.options.timeFormat.showHour?d+this.options.timeFormat.sepHour:"");d+=this.options.timeFormat.showMin?a+this.options.timeFormat.sepMin: "";return d+=this.options.timeFormat.showSec?b+this.options.timeFormat.sepSec:""}};var h=new g;b.dlePlayerVideo.convertTime=function(a){return h.time(a)};b.dlePlayerVideo.uaBrowser=function(a){a=a.toLowerCase();var b=/(opera)(?:.*version)?[ \/]([\w.]+)/,d=/(msie) ([\w.]+)/,f=/(mozilla)(?:.*? rv:([\w.]+))?/;a=/(webkit)[ \/]([\w.]+)/.exec(a)||b.exec(a)||d.exec(a)||0>a.indexOf("compatible")&&f.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}};b.dlePlayerVideo.uaPlatform=function(a){var b=a.toLowerCase(), d=/(android)/,f=/(mobile)/;a=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(b)||[];b=/(ipad|playbook)/.exec(b)||!f.exec(b)&&d.exec(b)||[];a[1]&&(a[1]=a[1].replace(/\s/g,"_"));return{platform:a[1]||"",tablet:b[1]||""}};b.dlePlayerVideo.browser={};b.dlePlayerVideo.platform={};var k=b.dlePlayerVideo.uaBrowser(navigator.userAgent);k.browser&&(b.dlePlayerVideo.browser[k.browser]=!0,b.dlePlayerVideo.browser.version=k.version);k=b.dlePlayerVideo.uaPlatform(navigator.userAgent);k.platform&& (b.dlePlayerVideo.platform[k.platform]=!0,b.dlePlayerVideo.platform.mobile=!k.tablet,b.dlePlayerVideo.platform.tablet=!!k.tablet);b.dlePlayerVideo.getDocMode=function(){if(b.dlePlayerVideo.browser.msie)if(document.documentMode)var a=document.documentMode;else a=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(a=7);return a};b.dlePlayerVideo.browser.documentMode=b.dlePlayerVideo.getDocMode();b.dlePlayerVideo.nativeFeatures={init:function(){var a=document,b=a.createElement("video"),d={w3c:"fullscreenEnabled fullscreenElement requestFullscreen exitFullscreen fullscreenchange fullscreenerror".split(" "), moz:"mozFullScreenEnabled mozFullScreenElement mozRequestFullScreen mozCancelFullScreen mozfullscreenchange mozfullscreenerror".split(" "),webkit:" webkitCurrentFullScreenElement webkitRequestFullScreen webkitCancelFullScreen webkitfullscreenchange ".split(" "),webkitVideo:"webkitSupportsFullscreen webkitDisplayingFullscreen webkitEnterFullscreen webkitExitFullscreen ".split(" "),ms:" msFullscreenElement msRequestFullscreen msExitFullscreen MSFullscreenChange MSFullscreenError".split(" ")},f=["w3c", "moz","webkit","webkitVideo","ms"],e;this.fullscreen=b={support:{w3c:!!a[d.w3c[0]],moz:!!a[d.moz[0]],webkit:"function"===typeof a[d.webkit[3]],webkitVideo:"function"===typeof b[d.webkitVideo[2]],ms:"function"===typeof b[d.ms[2]]},used:{}};var g=0;for(e=f.length;gNumber(b.dlePlayerVideo.browser.version)||9>b.dlePlayerVideo.browser.documentMode)){c=['','','','',''];var d=document.createElement(''); for(var f=0;f").join(">").split('"').join(""")},_qualifyURL:function(a){var b= document.createElement("div");b.innerHTML='x';return b.firstChild.href},_absoluteMediaUrls:function(a){var c=this;b.each(a,function(b,f){f&&c.format[b]&&"data:"!==f.substr(0,5)&&(a[b]=c._qualifyURL(f))});return a},addStateClass:function(a){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[a])},removeStateClass:function(a){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[a])},setMedia:function(a){var c=this,d=!1, f=this.status.media.poster!==a.poster;this._resetMedia();this._resetGate();this._resetActive();this.androidFix.setMedia=!1;this.androidFix.play=!1;this.androidFix.pause=!1;a=this._absoluteMediaUrls(a);b.each(this.formats,function(f,e){var g="video"===c.format[e].media;b.each(c.solutions,function(f,k){if(c[k].support[e]&&c._validString(a[e])){var h="html"===k,m="aurora"===k;g?(h?(c.html.video.gate=!0,c._html_setVideo(a),c.html.active=!0):(c.flash.gate=!0,c._flash_setVideo(a),c.flash.active=!0),c.css.jq.videoPlay.length&& c.css.jq.videoPlay.show(),c.status.video=!0):(h?(c.html.audio.gate=!0,c._html_setAudio(a),c.html.active=!0,b.dlePlayerVideo.platform.android&&(c.androidFix.setMedia=!0)):m?(c.aurora.gate=!0,c._aurora_setAudio(a),c.aurora.active=!0):(c.flash.gate=!0,c._flash_setAudio(a),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.hide(),c.status.video=!1);d=!0;return!1}});if(d)return!1});d?(this.status.nativeVideoControls&&this.html.video.gate||!this._validString(a.poster)||(f?this.htmlElement.poster.src= a.poster:this.internal.poster.jq.show()),"string"===typeof a.title&&this.css.jq.title.length&&this.css.jq.title.html(a.title),this.status.srcSet=!0,this.status.media=b.extend({},a),this._updateButtons(!1),this._updateInterface(),this._trigger(b.dlePlayerVideo.event.setmedia)):this._error({type:b.dlePlayerVideo.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:b.dlePlayerVideo.errorMsg.NO_SUPPORT,hint:b.dlePlayerVideo.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(); this._updateButtons(!1);this._updateInterface();this._seeked();this.internal.poster.jq.hide();clearTimeout(this.internal.htmlDlyCmdId);this.html.active?this._html_resetMedia():this.aurora.active?this._aurora_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia();this.html.active?this._html_clearMedia():this.aurora.active?this._aurora_clearMedia():this.flash.active&&this._flash_clearMedia();this._resetGate();this._resetActive()},load:function(){this.status.srcSet? this.html.active?this._html_load():this.aurora.active?this._aurora_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(b.dlePlayerVideo.focus=this)},play:function(a){"object"===typeof a&&this.options.useStateClassSkin&&!this.status.paused?this.pause(a):(a="number"===typeof a?a:NaN,this.status.srcSet?(this.focus(),this.html.active?this._html_play(a):this.aurora.active?this._aurora_play(a):this.flash.active&&this._flash_play(a)):this._urlNotSetError("play"))}, videoPlay:function(){this.play()},pause:function(a){a="number"===typeof a?a:NaN;this.status.srcSet?this.html.active?this._html_pause(a):this.aurora.active?this._aurora_pause(a):this.flash.active&&this._flash_pause(a):this._urlNotSetError("pause")},tellOthers:function(a,c){var d=this,f="function"===typeof c,e=Array.prototype.slice.call(arguments);"string"===typeof a&&(f&&e.splice(1,1),b.dlePlayerVideo.prototype.destroyRemoved(),b.each(this.instances,function(){d.element===this||f&&!c.call(this.data("dlePlayerVideo"), d)||this.dlePlayerVideo.apply(this,e)}))},pauseOthers:function(a){this.tellOthers("pause",function(){return this.status.srcSet},a)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.aurora.active?this._aurora_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(a){a=this._limitValue(a,0,100);this.status.srcSet?this.html.active?this._html_playHead(a):this.aurora.active?this._aurora_playHead(a):this.flash.active&&this._flash_playHead(a): this._urlNotSetError("playHead")},_muted:function(a){this.mutedWorker(a);this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},a)},mutedWorker:function(a){this.options.muted=a;this.html.used&&this._html_setProperty("muted",a);this.aurora.used&&this._aurora_mute(a);this.flash.used&&this._flash_mute(a);this.html.video.gate||this.html.audio.gate||(this._updateMute(a),this._updateVolume(this.options.volume),this._trigger(b.dlePlayerVideo.event.volumechange))}, mute:function(a){"object"===typeof a&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(a=a===l?!0:!!a,this._muted(a))},unmute:function(a){a=a===l?!0:!!a;this._muted(!a)},_updateMute:function(a){a===l&&(a=this.options.muted);a?this.addStateClass("muted"):this.removeStateClass("muted");this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):a?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(), this.css.jq.unmute.hide()))},volume:function(a){this.volumeWorker(a);this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},a)},volumeWorker:function(a){a=this._limitValue(a,0,1);this.options.volume=a;this.html.used&&this._html_setProperty("volume",a);this.aurora.used&&this._aurora_volume(a);this.flash.used&&this._flash_volume(a);this.html.video.gate||this.html.audio.gate||(this._updateVolume(a),this._trigger(b.dlePlayerVideo.event.volumechange))},volumeBar:function(a){if(this.css.jq.volumeBar.length){var c= b(a.currentTarget),d=c.offset(),f=a.pageX-d.left,e=c.width();a=c.height()-a.pageY+d.top;c=c.height();this.options.verticalVolume?this.volume(a/c):this.volume(f/e)}this.options.muted&&this._muted(!1)},_updateVolume:function(a){a===l&&(a=this.options.volume);a=this.options.muted?0:a;this.status.noVolume?(this.addStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()): (this.removeStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*a+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1);this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(a){var c=this;this.options.cssSelectorAncestor=a;this._removeUiClass();this.ancestorJq=a? b(a):[];a&&1!==this.ancestorJq.length&&this._warning({type:b.dlePlayerVideo.warning.CSS_SELECTOR_COUNT,context:a,message:b.dlePlayerVideo.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:b.dlePlayerVideo.warningHint.CSS_SELECTOR_COUNT});this._addUiClass();b.each(this.options.cssSelector,function(a,b){c._cssSelector(a,b)});this._updateInterface();this._updateButtons();this._updateAutohide();this._updateVolume();this._updateMute()},_cssSelector:function(a, c){var d=this;"string"===typeof c?b.dlePlayerVideo.prototype.options.cssSelector[a]?(this.css.jq[a]&&this.css.jq[a].length&&this.css.jq[a].unbind(".dlePlayerVideo"),this.options.cssSelector[a]=c,this.css.cs[a]=this.options.cssSelectorAncestor+" "+c,this.css.jq[a]=c?b(this.css.cs[a]):[],this.css.jq[a].length&&this[a]&&this.css.jq[a].bind("click.dlePlayerVideo",function(c){c.preventDefault();d[a](c);d.options.autoBlur?b(this).blur():b(this).focus()}),c&&1!==this.css.jq[a].length&&this._warning({type:b.dlePlayerVideo.warning.CSS_SELECTOR_COUNT, context:this.css.cs[a],message:b.dlePlayerVideo.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[a].length+" found for "+a+" method.",hint:b.dlePlayerVideo.warningHint.CSS_SELECTOR_COUNT})):this._warning({type:b.dlePlayerVideo.warning.CSS_SELECTOR_METHOD,context:a,message:b.dlePlayerVideo.warningMsg.CSS_SELECTOR_METHOD,hint:b.dlePlayerVideo.warningHint.CSS_SELECTOR_METHOD}):this._warning({type:b.dlePlayerVideo.warning.CSS_SELECTOR_STRING,context:c,message:b.dlePlayerVideo.warningMsg.CSS_SELECTOR_STRING, hint:b.dlePlayerVideo.warningHint.CSS_SELECTOR_STRING})},duration:function(a){this.options.toggleDuration&&(this.options.captureDuration&&a.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(a){if(this.css.jq.seekBar.length){var c=b(a.currentTarget),d=c.offset();a=a.pageX-d.left;c=c.width();this.playHead(100*a/c)}},playbackRate:function(a){this._setOption("playbackRate",a)},playbackRateBar:function(a){if(this.css.jq.playbackRateBar.length){var c= b(a.currentTarget),d=c.offset(),f=a.pageX-d.left,e=c.width();a=c.height()-a.pageY+d.top;c=c.height();this.playbackRate((this.options.verticalPlaybackRate?a/c:f/e)*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate)}},_updatePlaybackRate:function(){var a=(this.options.playbackRate-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(), this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*a+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(a){"object"===typeof a&&this.options.useStateClassSkin&&this.options.loop?this._loop(!1):this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(a){this.options.loop!== a&&(this.options.loop=a,this._updateButtons(),this._trigger(b.dlePlayerVideo.event.repeat))},option:function(a,c){var d=a;if(0===arguments.length)return b.extend(!0,{},this.options);if("string"===typeof a){var f=a.split(".");if(c===l){d=b.extend(!0,{},this.options);for(var e=0;e=a&&(b=!0);return b},_validString:function(a){return a&&"string"===typeof a},_limitValue:function(a,b,d){return ad?d:a},_urlNotSetError:function(a){this._error({type:b.dlePlayerVideo.error.URL_NOT_SET,context:a,message:b.dlePlayerVideo.errorMsg.URL_NOT_SET,hint:b.dlePlayerVideo.errorHint.URL_NOT_SET})},_flashError:function(a){var c=this.internal.ready?"FLASH_DISABLED":"FLASH";this._error({type:b.dlePlayerVideo.error[c], context:this.internal.flash.swf,message:b.dlePlayerVideo.errorMsg[c]+a.message,hint:b.dlePlayerVideo.errorHint[c]});this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(a){this._trigger(b.dlePlayerVideo.event.error,a);this.options.errorAlerts&&this._alert("Error!"+(a.message?"\n"+a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},_warning:function(a){this._trigger(b.dlePlayerVideo.event.warning,l,a);this.options.warningAlerts&&this._alert("Warning!"+(a.message?"\n"+ a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},_alert:function(a){a="dlePlayerVideo "+this.version.script+" : id='"+this.internal.self.id+"' : "+a;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(a):alert(a)},_emulateHtmlBridge:function(){var a=this;b.each(b.dlePlayerVideo.emulateMethods.split(/\s+/g),function(b,d){a.internal.domNode[d]=function(b){a[d](b)}});b.each(b.dlePlayerVideo.event,function(c,d){var f=!0;b.each(b.dlePlayerVideo.reservedEvent.split(/\s+/g), function(a,b){if(b===c)return f=!1});f&&a.element.bind(d+".dlePlayerVideo.dlePlayerVideoHtml",function(){a._emulateHtmlUpdate();var b=document.createEvent("Event");b.initEvent(c,!1,!0);a.internal.domNode.dispatchEvent(b)})})},_emulateHtmlUpdate:function(){var a=this;b.each(b.dlePlayerVideo.emulateStatus.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.status[d]});b.each(b.dlePlayerVideo.emulateOptions.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.options[d]})},_destroyHtmlBridge:function(){var a= this;this.element.unbind(".dlePlayerVideoHtml");b.each((b.dlePlayerVideo.emulateMethods+" "+b.dlePlayerVideo.emulateStatus+" "+b.dlePlayerVideo.emulateOptions).split(/\s+/g),function(b,d){delete a.internal.domNode[d]})}};b.dlePlayerVideo.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"};b.dlePlayerVideo.errorMsg={FLASH:"dlePlayerVideo's Flash fallback is not configured correctly, or a command was issued before the dlePlayerVideo Ready event. Details: ", FLASH_DISABLED:"dlePlayerVideo's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by dlePlayerVideo in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"dlePlayerVideo "+ b.dlePlayerVideo.prototype.version.script+" needs Jplayer.swf version "+b.dlePlayerVideo.prototype.version.needFlash+" but found "};b.dlePlayerVideo.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the dlePlayerVideo entity or any ancestor.",NO_SOLUTION:"Review the dlePlayerVideo options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.", URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update dlePlayerVideo files."};b.dlePlayerVideo.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"};b.dlePlayerVideo.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in dlePlayerVideo('cssSelector') is not a valid dlePlayerVideo method.",CSS_SELECTOR_STRING:"The methodCssSelector given in dlePlayerVideo('cssSelector') is not a String or is empty.", OPTION_KEY:"The option requested in dlePlayerVideo('option') is undefined."};b.dlePlayerVideo.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}}); (function(b,l){dlePlayerVideoPlaylist=function(g,h,k){var e=this;this.current=0;this.removing=this.shuffled=this.loop=!1;this.cssSelector=b.extend({},this._cssSelector,g);this.options=b.extend(!0,{keyBindings:{next:{key:221,fn:function(){e.next()}},previous:{key:219,fn:function(){e.previous()}},shuffle:{key:83,fn:function(){e.shuffle()}}},stateClass:{shuffled:"mdtc-clnplrv-state-shuffled"}},this._options,k);this.playlist=[];this.original=[];this._initPlaylist(h);this.cssSelector.details=this.cssSelector.cssSelectorAncestor+ " .mdtc-clnplrv-details";this.cssSelector.playlist=this.cssSelector.cssSelectorAncestor+" .mdtc-clnplrv-playlist";this.cssSelector.next=this.cssSelector.cssSelectorAncestor+" .mdtc-clnplrv-next";this.cssSelector.previous=this.cssSelector.cssSelectorAncestor+" .mdtc-clnplrv-previous";this.cssSelector.shuffle=this.cssSelector.cssSelectorAncestor+" .mdtc-clnplrv-shuffle";this.cssSelector.shuffleOff=this.cssSelector.cssSelectorAncestor+" .mdtc-clnplrv-shuffle-off";this.options.cssSelectorAncestor=this.cssSelector.cssSelectorAncestor; this.options.repeat=function(a){e.loop=a.dlePlayerVideo.options.loop};b(this.cssSelector.dlePlayerVideo).bind(b.dlePlayerVideo.event.ready,function(){e._init()});b(this.cssSelector.dlePlayerVideo).bind(b.dlePlayerVideo.event.ended,function(){e.next()});b(this.cssSelector.dlePlayerVideo).bind(b.dlePlayerVideo.event.play,function(){b(this).dlePlayerVideo("pauseOthers")});b(this.cssSelector.dlePlayerVideo).bind(b.dlePlayerVideo.event.resize,function(a){a.dlePlayerVideo.options.fullScreen?b(e.cssSelector.details).show(): b(e.cssSelector.details).hide()});b(this.cssSelector.previous).click(function(a){a.preventDefault();e.previous();e.blur(this)});b(this.cssSelector.next).click(function(a){a.preventDefault();e.next();e.blur(this)});b(this.cssSelector.shuffle).click(function(a){a.preventDefault();e.shuffled&&b(e.cssSelector.dlePlayerVideo).dlePlayerVideo("option","useStateClassSkin")?e.shuffle(!1):e.shuffle(!0);e.blur(this)});b(this.cssSelector.shuffleOff).click(function(a){a.preventDefault();e.shuffle(!1);e.blur(this)}).hide(); this.options.fullScreen||b(this.cssSelector.details).hide();b(this.cssSelector.playlist+" ul").empty();this._createItemHandlers();b(this.cssSelector.dlePlayerVideo).dlePlayerVideo(this.options)};dlePlayerVideoPlaylist.prototype={_cssSelector:{dlePlayerVideo:"#jquery_jplayer_1",cssSelectorAncestor:"#jp_video_container_1"},_options:{playlistOptions:{autoPlay:!1,loopOnPrevious:!1,shuffleOnLoop:!0,enableRemoveControls:!1,displayTime:"slow",addTime:"fast",removeTime:"fast",shuffleTime:"slow",itemClass:"mdtc-clnplrv-playlist-item", freeGroupClass:"mdtc-clnplrv-free-media",freeItemClass:"mdtc-clnplrv-playlist-item-free",removeItemClass:"mdtc-clnplrv-playlist-item-remove"}},option:function(b,h){if(h===l)return this.options.playlistOptions[b];this.options.playlistOptions[b]=h;switch(b){case "enableRemoveControls":this._updateControls();break;case "itemClass":case "freeGroupClass":case "freeItemClass":case "removeItemClass":this._refresh(!0),this._createItemHandlers()}return this},_init:function(){var b=this;this._refresh(function(){b.options.playlistOptions.autoPlay? b.play(b.current):b.select(b.current)})},_initPlaylist:function(g){this.current=0;this.removing=this.shuffled=!1;this.original=b.extend(!0,[],g);this._originalPlaylist()},_originalPlaylist:function(){var g=this;this.playlist=[];b.each(this.original,function(b){g.playlist[b]=g.original[b]})},_refresh:function(g){var h=this;if(g&&!b.isFunction(g))b(this.cssSelector.playlist+" ul").empty(),b.each(this.playlist,function(e){b(h.cssSelector.playlist+" ul").append(h._createListItem(h.playlist[e]))}),this._updateControls(); else{var k=b(this.cssSelector.playlist+" ul").children().length?this.options.playlistOptions.displayTime:0;b(this.cssSelector.playlist+" ul").slideUp(k,function(){var e=b(this);b(this).empty();b.each(h.playlist,function(a){e.append(h._createListItem(h.playlist[a]))});h._updateControls();b.isFunction(g)&&g();h.playlist.length?b(this).slideDown(h.options.playlistOptions.displayTime):b(this).show()})}},_createListItem:function(g){var h=this,k="

  • ";k+="×";if(g.free){var e=!0;k+="(";b.each(g,function(a,c){b.dlePlayerVideo.prototype.format[a]&&(e?e=!1:k+=" | ",k+=""+a+"")});k+=")"}k+=""+g.title+(g.artist?" by "+g.artist+"":"")+"";return k+="
  • "}, _createItemHandlers:function(){var g=this;b(this.cssSelector.playlist).off("click","span."+this.options.playlistOptions.itemClass).on("click","span."+this.options.playlistOptions.itemClass,function(h){h.preventDefault();h=b(this).parent().parent().index();g.current!==h?g.play(h):b(g.cssSelector.dlePlayerVideo).dlePlayerVideo("play");g.blur(this)});b(this.cssSelector.playlist).off("click","a."+this.options.playlistOptions.freeItemClass).on("click","a."+this.options.playlistOptions.freeItemClass,function(h){h.preventDefault(); b(this).parent().parent().find("."+g.options.playlistOptions.itemClass).click();g.blur(this)});b(this.cssSelector.playlist).off("click","a."+this.options.playlistOptions.removeItemClass).on("click","a."+this.options.playlistOptions.removeItemClass,function(h){h.preventDefault();h=b(this).parent().parent().index();g.remove(h);g.blur(this)})},_updateControls:function(){this.options.playlistOptions.enableRemoveControls?b(this.cssSelector.playlist+" ."+this.options.playlistOptions.removeItemClass).show(): b(this.cssSelector.playlist+" ."+this.options.playlistOptions.removeItemClass).hide();this.shuffled?b(this.cssSelector.dlePlayerVideo).dlePlayerVideo("addStateClass","shuffled"):b(this.cssSelector.dlePlayerVideo).dlePlayerVideo("removeStateClass","shuffled");b(this.cssSelector.shuffle).length&&b(this.cssSelector.shuffleOff).length&&(this.shuffled?(b(this.cssSelector.shuffleOff).show(),b(this.cssSelector.shuffle).hide()):(b(this.cssSelector.shuffleOff).hide(),b(this.cssSelector.shuffle).show()))}, _highlight:function(g){this.playlist.length&&g!==l&&(b(this.cssSelector.playlist+" .mdtc-clnplrv-playlist-current").removeClass("mdtc-clnplrv-playlist-current"),b(this.cssSelector.playlist+" li:nth-child("+(g+1)+")").addClass("mdtc-clnplrv-playlist-current").find(".mdtc-clnplrv-playlist-item").addClass("mdtc-clnplrv-playlist-current"))},setPlaylist:function(b){this._initPlaylist(b);this._init()},add:function(g,h){b(this.cssSelector.playlist+" ul").append(this._createListItem(g)).find("li:last-child").hide().slideDown(this.options.playlistOptions.addTime); this._updateControls();this.original.push(g);this.playlist.push(g);h?this.play(this.playlist.length-1):1===this.original.length&&this.select(0)},remove:function(g){var h=this;if(g===l)return this._initPlaylist([]),this._refresh(function(){b(h.cssSelector.dlePlayerVideo).dlePlayerVideo("clearMedia")}),!0;if(this.removing)return!1;g=0>g?h.original.length+g:g;0<=g&&gg?this.original.length+ g:g;0<=g&&gg?this.original.length+g:g;0<=g&&gk;k++)b+="abcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(36*Math.random()));return b}b.fn.cleanaudioplayer=function(h){(function(k,e,a,c){b("body").on("mousemove", ".mdtc-clnplrv-volume-bar",function(d){e&&e[a](b.extend({},d,{currentTarget:c}))}).on("mouseup",function(){e=!1}).on("mousedown",function(d){var f=b(d.target).parents().add(d.currentTarget);d=f.filter(".mdtc-clnplrv-volume-bar").first();f=f.filter(".mdtc-clnplrv-seek-bar").first();f.length?(a="seekBar",c=f):d.length&&(a="volumeBar",c=d);e=(d=c&&c.closest(".mdtc-clnplrv-audio"))&&d.children().first().add(d.prev()).filter(function(){return b(this).data("dlePlayerVideo")}).first().data("dlePlayerVideo")})})(); return this.each(function(k){var e=b.extend({theme:"default",supplied:"mp3,m4a,oga,wav",disableControls:!1,autoplay:!1,playlistHeight:!1,rssUrl:!1,playlist:!1},h);k=!1;var a="";if(0 ul").length){var c=b(this).find("> ul");c.data("theme")?e.theme=c.data("theme"):void 0;c.data("supplied")?e.supplied=c.data("supplied"):void 0;c.data("disable-controls")?e.disableControls=c.data("disable-controls"):void 0;c.data("autoplay")?e.autoplay=c.data("autoplay"):void 0;c.data("playlist-height")? e.playlistHeight=c.data("playlist-height"):void 0;c.data("preload")?e.preload=c.data("preload"):void 0;if(0 ul li").length){var d=[];b(this).find("> ul li").each(function(){var a=b(this),c=a.data("free")?!0:!1,e=a.data("type");c={title:a.data("title"),artist:a.data("artist"),free:c};c[e]=a.data("url");d.push(c)});1==b(this).find("> ul li").length&&b(this).find("> ul li").data("free")&&(k=!0,a=b(this).find("> ul li").data("url"));e.playlist=d}}c=g();b(this).html('
    \x3c!-- --\x3e
    00:00
    \x3c!-- --\x3e
    \x3c!-- --\x3e
    \x3c!-- --\x3e
      '); b(this).find(".mdtc-clnplrv-main-player").addClass("mdtc-clnplrv-cleanaudioplayer-id-"+c);k&&(b(this).find(".mdtc-clnplrv-main-player").addClass("mdtc-clnplrv-solo-download"),b(this).find(".mdtc-clnplrv-download-one").attr("href",a));"dark"==e.theme&&b(this).find(".mdtc-clnplrv-main-player").addClass("mdtc-clnplrv-dark-theme");e.disableControls&&b(this).find(".mdtc-clnplrv-main-player").addClass("mdtc-clnplrv-disabled-controls");e.playlistHeight&&b(this).find(".mdtc-clnplrv-playlist > ul").css({maxHeight:e.playlistHeight, overflowY:"auto"});1d.parent().width()?d.parent().addClass("mdtc-clnplrv-responsive"):d.parent().removeClass("mdtc-clnplrv-responsive"))}var d=b(this);d.next().find(".mdtc-clnplrv-time").on("click",function(){d.next().find(".mdtc-clnplrv-current-time, .mdtc-clnplrv-duration").toggle()});e.autoplay&&b(this).dlePlayerVideo("play");b(window).on("resize", function(){c()});c();setInterval(function(){c()},250);l(d)},play:function(a){b(this).dlePlayerVideo("pauseOthers")},cssSelector:{title:"#current-song"},playlistOptions:{shuffleTime:150}},new dlePlayerVideoPlaylist({dlePlayerVideo:".mdtc-clnplrv-cleanaudioplayer-id-"+c+" .mdtc-clnplrv-jplayer",cssSelectorAncestor:".mdtc-clnplrv-cleanaudioplayer-id-"+c},e.playlist,playerOptions)):b(".mdtc-clnplrv-cleanaudioplayer-id-"+c+" .mdtc-clnplrv-jplayer").dlePlayerVideo({ready:function(a){function c(){d.next().is(":visible")&& (450>d.parent().width()?d.parent().addClass("mdtc-clnplrv-responsive"):d.parent().removeClass("mdtc-clnplrv-responsive"))}b(this).dlePlayerVideo("setMedia",e.playlist[0]);var d=b(this);d.next().find(".mdtc-clnplrv-time").on("click",function(){d.next().find(".mdtc-clnplrv-current-time, .mdtc-clnplrv-duration").toggle()});e.autoplay&&b(this).dlePlayerVideo("play");b(this).parent().addClass("mdtc-clnplrv-disabled-controls mdtc-clnplrv-solo-player");b(window).on("resize",function(){c()});c();setInterval(function(){c()}, 250);l(d)},play:function(a){b(this).dlePlayerVideo("pauseOthers")},cssSelector:{title:"#current-song"},cssSelectorAncestor:".mdtc-clnplrv-cleanaudioplayer-id-"+c,supplied:e.supplied})})}})(jQuery); (function(b){function l(b){function e(){var a=b.next(),c=a.find(".mdtc-clnplrv-song-title-inner");a=a.find(".mdtc-clnplrv-song-title").width();var d=c.width()-a;0e;e++)b+="abcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(36*Math.random()));return b}b.fn.cleanvideoplayer=function(k){(function(e,a,c,d){b("body").on("mousemove", ".mdtc-clnplrv-volume-bar",function(f){a&&a[c](b.extend({},f,{currentTarget:d}))}).on("mouseup",function(){a=!1}).on("mousedown",function(f){var e=b(f.target).parents().add(f.currentTarget);f=e.filter(".mdtc-clnplrv-volume-bar").first();e=e.filter(".mdtc-clnplrv-seek-bar").first();e.length?(c="seekBar",d=e):f.length&&(c="volumeBar",d=f);a=(f=d&&d.closest(".mdtc-clnplrv-video"))&&f.children().first().add(f.prev()).filter(function(){return b(this).data("dlePlayerVideo")}).first().data("dlePlayerVideo")})})(); return this.each(function(e){var a=b.extend({theme:"default",supplied:"m4v,webmv,youtube",disableControls:!1,autoplay:!1,playlistHeight:"290px",playlist:!1},k);e=!1;var c="";if(0 ul").length){var d=b(this).find("> ul");d.data("theme")?a.theme=d.data("theme"):void 0;d.data("supplied")?a.supplied=d.data("supplied"):void 0;d.data("disable-controls")?a.disableControls=d.data("disable-controls"):void 0;d.data("autoplay")?a.autoplay=d.data("autoplay"):void 0;d.data("playlist-height")?a.playlistHeight= d.data("playlist-height"):void 0;d.data("preload")?a.preload=d.data("preload"):void 0;if(0 ul li").length){var f=[];b(this).find("> ul li").each(function(){var a=b(this),d=a.data("free")?!0:!1,c=a.data("type");d={title:a.data("title"),artist:a.data("artist"),free:d,poster:a.data("poster")};d[c]=a.data("url");f.push(d)});1==b(this).find("> ul li").length&&b(this).find("> ul li").data("free")&&(e=!0,c=b(this).find("> ul li").data("url"));a.playlist=f}}d=g();b(this).html('
      \x3c!-- --\x3e
      \x3c!-- --\x3e
      \x3c!-- --\x3e
      00:00
      00:00
      \x3c!-- --\x3e
        '); b(this).find(".mdtc-clnplrv-main-player").addClass("mdtc-clnplrv-cleanvideoplayer-id-"+d);e&&(b(this).find(".mdtc-clnplrv-main-player").addClass("mdtc-clnplrv-solo-download"),b(this).find(".mdtc-clnplrv-download-one").attr("href",c));"dark"==a.theme&&b(this).find(".mdtc-clnplrv-main-player").addClass("mdtc-clnplrv-dark-theme");a.disableControls&&b(this).find(".mdtc-clnplrv-main-player").addClass("mdtc-clnplrv-disabled-controls");a.playlistHeight&&b(this).find(".mdtc-clnplrv-playlist > ul").css({maxHeight:a.playlistHeight, overflowY:"auto"});1a?e.parent().addClass("mdtc-clnplrv-responsive"):e.parent().removeClass("mdtc-clnplrv-responsive")}}var e=b(this);a.autoplay&&e.dlePlayerVideo("play"); e.on("click",function(){e.data().dlePlayerVideo.status.paused?e.dlePlayerVideo("play"):e.dlePlayerVideo("pause")});e.on("dblclick",function(){e.parent().hasClass("mdtc-clnplrv-state-full-screen")?e.dlePlayerVideo("restoreScreen"):e.dlePlayerVideo("fullScreen")});e.next().find(".mdtc-clnplrv-fullscreen-btn").on("click",function(){e.parent().hasClass("mdtc-clnplrv-state-full-screen")?e.dlePlayerVideo("restoreScreen"):e.dlePlayerVideo("fullScreen")});"metadata"==a.preload&&e.find("video").css("cssText", "background: transparent");b(window).on("resize",function(){c()});c();setInterval(function(){c()},250);l(e)},play:function(a){b(this).dlePlayerVideo("pauseOthers")},cssSelector:{title:"#current-song"},playlistOptions:{shuffleTime:150},size:{width:"100%",height:"100%"}},new dlePlayerVideoPlaylist({dlePlayerVideo:".mdtc-clnplrv-cleanvideoplayer-id-"+d+" .mdtc-clnplrv-jplayer",cssSelectorAncestor:".mdtc-clnplrv-cleanvideoplayer-id-"+d},a.playlist,playerOptions)):b(".mdtc-clnplrv-cleanvideoplayer-id-"+ d+" .mdtc-clnplrv-jplayer").dlePlayerVideo({ready:function(d){function c(){if(e.next().is(":visible")){var a=e.width(),b=a/16*9;e.parent().hasClass("mdtc-clnplrv-state-full-screen")?e.css("cssText","height:100% !important"):e.css("cssText","height:"+b+"px !important");450>a?e.parent().addClass("mdtc-clnplrv-responsive"):e.parent().removeClass("mdtc-clnplrv-responsive")}}b(this).dlePlayerVideo("setMedia",a.playlist[0]);var e=b(this);a.autoplay&&b(this).dlePlayerVideo("play");e.on("click",function(){e.data().dlePlayerVideo.status.paused? e.dlePlayerVideo("play"):e.dlePlayerVideo("pause")});e.on("dblclick",function(){e.parent().hasClass("mdtc-clnplrv-state-full-screen")?e.dlePlayerVideo("restoreScreen"):e.dlePlayerVideo("fullScreen")});e.next().find(".mdtc-clnplrv-fullscreen-btn").on("click",function(){e.parent().hasClass("mdtc-clnplrv-state-full-screen")?e.dlePlayerVideo("restoreScreen"):e.dlePlayerVideo("fullScreen")});b(this).parent().addClass("mdtc-clnplrv-disabled-controls mdtc-clnplrv-solo-player");b(window).on("resize",function(){c()}); c();setInterval(function(){c()},250);l(e)},play:function(a){b(this).dlePlayerVideo("pauseOthers")},cssSelector:{title:"#current-song"},cssSelectorAncestor:".mdtc-clnplrv-cleanvideoplayer-id-"+d,supplied:a.supplied,preload:a.preload,size:{width:"100%",height:"100%"}})})};var h={api:"https://www.youtube.com/iframe_api",load:function(b){var e=document.getElementsByTagName("head").item(0),a=[],c,d;return function(f){if(d)return a?a.push(f):f();if(b.YT&&b.YT.Player)return f();b.onYouTubeIframeAPIReady&& a.push(b.onYouTubeIframeAPIReady);b.onYouTubeIframeAPIReady=function(){for(;0!==a.length;)try{a.shift()()}catch(m){}a=!1};d=a.push(f);c=document.createElement("script");c.src=h.api;e.appendChild(c)}}((0,eval)("this")),player:function(g,e){var a=b(g),c=g.id+"_youtube",d=function(){return a.data.apply(a,[c].concat([].slice.call(arguments)))},f=d()||d({player:!1,queue:!1})&&d();if(f.player)return e(f.player);if(f.queue)return f.queue.push(e);f.queue=[e];h.load(function(){f.container=g.parentNode.insertBefore(document.createElement("div"), g);f.container.id=c;var d=b.dlePlayerVideo.platform.ipad||b.dlePlayerVideo.platform.iphone||b.dlePlayerVideo.platform.ipod?1:0;f.player=new YT.Player(c,{height:a.outerHeight(),width:a.outerWidth(),playerVars:{autoplay:0,controls:d,rel:0,iv_load_policy:3,showinfo:0},events:{onReady:function(){for(;0!==f.queue.length;)try{f.queue.shift()(f.player)}catch(n){}delete f.queue;b(window).on("resize",function(){f.player.setSize(a.outerWidth(),a.outerHeight())})},onStateChange:function(b){b="unstarted;ended;playing;paused;buffering;video cued".split(";")[b.data+ 1];var c=g.getJPlayer(),d=function(a){c._getHtmlStatus(e,a);c._updateInterface();a&&d()};clearInterval(f.interval);if("ended"===b)g.emulateEvent("ended");else if("paused"===b)g.emulateEvent("pause");else if("playing"===b){g.emulateEvent("play");g.emulateEvent("playing");var e={currentTime:f.player.getCurrentTime(),duration:f.player.getDuration(),videoWidth:a.outerWidth(),videoHeight:a.outerHeight(),ended:!1,readyState:4,load:function(){},seekable:{length:1,end:function(){return e.duration}}};d(!0); f.interval=setInterval(function(){e.currentTime=f.player.getCurrentTime();e.ended=e.currentTime>=e.duration;d()},1E3);f._html_playHead||(f._html_playHead=c._html_playHead);c._html_playHead=function(){var a=this.htmlElement.media,b=f.player.getCurrentTime();if(a.getVideoId()){e.currentTime=b;this.htmlElement.media=e;var c=f._html_playHead.apply(this,arguments);this.htmlElement.media=a;e.currentTime!==b&&(f.player.seekTo(e.currentTime),d())}else c=f._html_playHead.apply(this,arguments);return c}}}}})})}, hooks:{video:{getVideoId:function(){return function(){var g=b(this);return(String(g.attr("src")||g.data("src")).match(/(?:youtube\.com\/.*?[?&]v=|youtube:\/{2})([^&]+)/i)||[])[1]}},getJPlayer:function(){return function(){var g=this;do{var e=b.data(g,"dlePlayerVideo");g=g.parentNode}while(g&&!e);return e}},emulateEvent:function(){return function(b){if("function"===typeof this.dispatchEvent){var e=document.createEvent("HTMLEvents");e.initEvent(b,!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,this);this.dispatchEvent(e)}else"undefined"!== typeof this.fireEvent&&this.fireEvent("on"+b)}},youtube:function(){return function(b){return h.player(this,b)}},toggleVideo:function(){return function(g){this.getJPlayer().element.toggleClass("youtube-player",g).find('video,img[id*="poster"]').css(g?{position:"absolute",visibility:"visible",top:"1px"}:{position:"",visibility:"",opacity:"",top:""}).end().find("iframe").toggle(g);var e=b.dlePlayerVideo.platform.ipad||b.dlePlayerVideo.platform.iphone||b.dlePlayerVideo.platform.ipod;g&&e?this.getJPlayer().element.parent().find(".mdtc-clnplrv-interface").toggle(!1): this.getJPlayer().element.parent().find(".mdtc-clnplrv-interface").toggle(!0)}},addEventListener:function(g){return function(e,a,c){var d=this,f=b(this);return g.call(this,e,function(b){var c=a.apply(this,arguments);d.getVideoId()&&(f.attr("src")&&/(?:abort|emptied|loadstart)/i.test(e)?f.data("src",d.src).attr("src",""):/volumechange/i.test(e)?d.youtube(function(a){a.setVolume(100*d.getJPlayer().options.volume)}):/error/i.test(e)&&(d.getJPlayer().status.waitForLoad=!1));return c},c)}},canPlayType:function(b){return function(e){return/youtube/i.test(e)? "probably":b.apply(this,arguments)}},pause:function(b){return function(){var e=this;return this.getVideoId()?this.youtube(function(a){e.emulateEvent("pause");a.pauseVideo()}):b.apply(this,arguments)}},play:function(g){return function(){var e=this;if(this.getVideoId())return this.youtube(function(a){e.toggleVideo(!0);a.playVideo()});b(e).data("src")&&this.youtube(function(a){a.stopVideo()});this.toggleVideo(!1);return g.apply(this,arguments)}},load:function(b){return function(){var e=this,a=this.getVideoId(); if(a)return this.youtube(function(b){e.toggleVideo(!0);b.cueVideoById(a)});this.toggleVideo(!1);return b.apply(this,arguments)}}}},initialize:function(){var g=function(b,a){var c=h.hooks[a]||{},d;for(d in c)c.hasOwnProperty(d)&&(b[d]=c[d].call(b,b[d]));return b};b.dlePlayerVideo.prototype.format.youtube={flashCanPlay:!1,codec:'video/youtube; codecs="m4v"',media:"video"};"undefined"!==typeof HTMLVideoElement?g(HTMLVideoElement.prototype,"video"):document.createElement=function(b){return function(a){return g(b.apply(this, arguments),String(a).toLowerCase())}}(document.createElement)}};h.initialize()})(jQuery); jQuery(function($){ $('.dleaudioplayer').cleanaudioplayer();$('.dlevideoplayer').cleanvideoplayer(); });

        Пика - Фон для секса Текст песни Самые сексуальные пожарные Австралии снялись полуголыми для зоокалендаря Игорю Петренко – 45: смотрим лучшее с участием артиста Привет Андрей передача с Малаховым последний выпуск и все выпуски подряд смотреть онлайн ФРС США оставила учётную ставку на прежнем уровне