File Editor
Directories:
.. (Back)
renderers
Files:
mediaelement-and-player.js
mediaelement-and-player.min.js
mediaelement-migrate.js
mediaelement-migrate.min.js
mediaelement.js
mediaelement.min.js
mediaelementplayer-legacy.css
mediaelementplayer-legacy.min.css
mediaelementplayer.css
mediaelementplayer.min.css
wp-mediaelement.css
wp-mediaelement.js
wp-mediaelement.min.css
wp-mediaelement.min.js
wp-playlist.js
wp-playlist.min.js
Create New File
Create
Edit File: wp-mediaelement.min.js
!function(e,n){e.wp=e.wp||{},e.wp.mediaelement=new function(){var e={};return{initialize:function(){(e="undefined"!=typeof _wpmejsSettings?n.extend(!0,{},_wpmejsSettings):e).classPrefix="mejs-",e.success=e.success||function(e){var n,t;e.rendererName&&-1!==e.rendererName.indexOf("flash")&&(n=e.attributes.autoplay&&"false"!==e.attributes.autoplay,t=e.attributes.loop&&"false"!==e.attributes.loop,n&&e.addEventListener("canplay",function(){e.play()},!1),t&&e.addEventListener("ended",function(){e.play()},!1))},e.customError=function(e,n){if(-1!==e.rendererName.indexOf("flash")||-1!==e.rendererName.indexOf("flv"))return'<a href="'+n.src+'">'+mejsL10n.strings["mejs.download-video"]+"</a>"},n(".wp-audio-shortcode, .wp-video-shortcode").not(".mejs-container").filter(function(){return!n(this).parent().hasClass("mejs-mediaelement")}).mediaelementplayer(e)}}},n(e.wp.mediaelement.initialize)}(window,jQuery);
Save Changes
Rename File
Rename