Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-includes
/
js
/
mediaelement
/
File Content:
wp-mediaelement.js
/* global _wpmejsSettings, mejsL10n */ (function( window, $ ) { window.wp = window.wp || {}; function wpMediaElement() { var settings = {}; /** * Initialize media elements. * * Ensures media elements that have already been initialized won't be * processed again. * * @memberOf wp.mediaelement * * @since 4.4.0 * * @return {void} */ function initialize() { if ( typeof _wpmejsSettings !== 'undefined' ) { settings = $.extend( true, {}, _wpmejsSettings ); } settings.classPrefix = 'mejs-'; settings.success = settings.success || function ( mejs ) { var autoplay, loop; if ( mejs.rendererName && -1 !== mejs.rendererName.indexOf( 'flash' ) ) { autoplay = mejs.attributes.autoplay && 'false' !== mejs.attributes.autoplay; loop = mejs.attributes.loop && 'false' !== mejs.attributes.loop; if ( autoplay ) { mejs.addEventListener( 'canplay', function() { mejs.play(); }, false ); } if ( loop ) { mejs.addEventListener( 'ended', function() { mejs.play(); }, false ); } } }; /** * Custom error handler. * * Sets up a custom error handler in case a video render fails, and provides a download * link as the fallback. * * @since 4.9.3 * * @param {object} media The wrapper that mimics all the native events/properties/methods for all renderers. * @param {object} node The original HTML video, audio, or iframe tag where the media was loaded. * @return {string} */ settings.customError = function ( media, node ) { // Make sure we only fall back to a download link for flash files. if ( -1 !== media.rendererName.indexOf( 'flash' ) || -1 !== media.rendererName.indexOf( 'flv' ) ) { return '<a href="' + node.src + '">' + mejsL10n.strings['mejs.download-file'] + '</a>'; } }; // Only initialize new media elements. $( '.wp-audio-shortcode, .wp-video-shortcode' ) .not( '.mejs-container' ) .filter(function () { return ! $( this ).parent().hasClass( 'mejs-mediaelement' ); }) .mediaelementplayer( settings ); } return { initialize: initialize }; } /** * @namespace wp.mediaelement * @memberOf wp */ window.wp.mediaelement = new wpMediaElement(); $( window.wp.mediaelement.initialize ); })( window, jQuery );
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
renderers
---
0755
418.php
478 bytes
0644
class-json.php
43441 bytes
0644
class-wp-http-streams.php
16117 bytes
0644
class-wp-network-query.php
19169 bytes
0644
class-wp-network.php
12379 bytes
0644
class-wp-oembed-controller-20260707082527.php
6793 bytes
0644
class-wp-oembed-controller.php
6793 bytes
0644
class-wp-sitemaps-posts.php
5875 bytes
0644
https-detection-20260622230655.php
6871 bytes
0644
https-detection-20260623211809-20260707130704.php
6871 bytes
0644
https-detection-20260623211809.php
6871 bytes
0644
https-detection.php
6871 bytes
0644
https-migration-20260621222700-20260622020253.php
4730 bytes
0644
https-migration-20260621222700.php
4730 bytes
0644
https-migration-20260622194220.php
4730 bytes
0644
https-migration-20260622211332.php
4730 bytes
0644
https-migration.php
4730 bytes
0644
mediaelement-and-player.js
265275 bytes
0644
mediaelement-and-player.min.js
157610 bytes
0644
mediaelement-migrate.js
2841 bytes
0604
mediaelement-migrate.min.js
1193 bytes
0644
mediaelement.js
122401 bytes
0644
mediaelement.min.js
68193 bytes
0644
mediaelementplayer-legacy.css
15758 bytes
0604
mediaelementplayer-legacy.min.css
11256 bytes
0644
mediaelementplayer.css
15907 bytes
0604
mediaelementplayer.min.css
11407 bytes
0644
mejs-controls.png
2883 bytes
0604
mejs-controls.svg
4598 bytes
0604
php72compat_const.php
4597 bytes
0644
shortcode.php
697 bytes
0644
wp-content.css
8624 bytes
0644
wp-mediaelement.css
4960 bytes
0604
wp-mediaelement.js
2363 bytes
0604
wp-mediaelement.min.css
4186 bytes
0604
wp-mediaelement.min.js
906 bytes
0644
wp-playlist.js
5357 bytes
0604
wp-playlist.min.js
3431 bytes
0604
N4ST4R_ID | Naxtarrr