!function(e,n){e.wp=e.wp||{},e.wp.mediaelement=new function(){var t={};return{initialize:function(){var e=[];(t="undefined"!=typeof _wpmejssettings?n.extend(!0,{},_wpmejssettings):t).classprefix="mejs-",t.success=t.success||function(e){var t,n;e.renderername&&-1!==e.renderername.indexof("flash")&&(t=e.attributes.autoplay&&"false"!==e.attributes.autoplay,n=e.attributes.loop&&"false"!==e.attributes.loop,t&&e.addeventlistener("canplay",function(){e.play()},!1),n)&&e.addeventlistener("ended",function(){e.play()},!1)},t.customerror=function(e,t){if(-1!==e.renderername.indexof("flash")||-1!==e.renderername.indexof("flv"))return''+mejsl10n.strings["mejs.download-file"]+""},void 0!==t.videoshortcodelibrary&&"mediaelement"!==t.videoshortcodelibrary||e.push(".wp-video-shortcode"),void 0!==t.audioshortcodelibrary&&"mediaelement"!==t.audioshortcodelibrary||e.push(".wp-audio-shortcode"),e.length&&n(e.join(", ")).not(".mejs-container").filter(function(){return!n(this).parent().hasclass("mejs-mediaelement")}).mediaelementplayer(t)}}},n(e.wp.mediaelement.initialize)}(window,jquery);