Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-includes
/
js
/
mediaelement
/
File Content:
mediaelement-migrate.js
/* global console, MediaElementPlayer, mejs */ (function ( window, $ ) { // Reintegrate `plugins` since they don't exist in MEJS anymore; it won't affect anything in the player if (mejs.plugins === undefined) { mejs.plugins = {}; mejs.plugins.silverlight = []; mejs.plugins.silverlight.push({ types: [] }); } // Inclusion of old `HtmlMediaElementShim` if it doesn't exist mejs.HtmlMediaElementShim = mejs.HtmlMediaElementShim || { getTypeFromFile: mejs.Utils.getTypeFromFile }; // Add missing global variables for backward compatibility if (mejs.MediaFeatures === undefined) { mejs.MediaFeatures = mejs.Features; } if (mejs.Utility === undefined) { mejs.Utility = mejs.Utils; } /** * Create missing variables and have default `classPrefix` overridden to avoid issues. * * `media` is now a fake wrapper needed to simplify manipulation of various media types, * so in order to access the `video` or `audio` tag, use `media.originalNode` or `player.node`; * `player.container` used to be jQuery but now is a HTML element, and many elements inside * the player rely on it being a HTML now, so its conversion is difficult; however, a * `player.$container` new variable has been added to be used as jQuery object */ var init = MediaElementPlayer.prototype.init; MediaElementPlayer.prototype.init = function () { this.options.classPrefix = 'mejs-'; this.$media = this.$node = $( this.node ); init.call( this ); }; var ready = MediaElementPlayer.prototype._meReady; MediaElementPlayer.prototype._meReady = function () { this.container = $( this.container) ; this.controls = $( this.controls ); this.layers = $( this.layers ); ready.apply( this, arguments ); }; // Override method so certain elements can be called with jQuery MediaElementPlayer.prototype.getElement = function ( el ) { return $ !== undefined && el instanceof $ ? el[0] : el; }; // Add jQuery ONLY to most of custom features' arguments for backward compatibility; default features rely 100% // on the arguments being HTML elements to work properly MediaElementPlayer.prototype.buildfeatures = function ( player, controls, layers, media ) { var defaultFeatures = [ 'playpause', 'current', 'progress', 'duration', 'tracks', 'volume', 'fullscreen' ]; for (var i = 0, total = this.options.features.length; i < total; i++) { var feature = this.options.features[i]; if (this['build' + feature]) { try { // Use jQuery for non-default features if (defaultFeatures.indexOf(feature) === -1) { this['build' + feature]( player, $(controls), $(layers), media ); } else { this['build' + feature]( player, controls, layers, media ); } } catch (e) { console.error( 'error building ' + feature, e ); } } } }; })( window, jQuery );
Submit
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