Allow developers to override the `settings.success` callback for MediaElement players.

Props nofearinc.
Fixes #30029.

Built from https://develop.svn.wordpress.org/trunk@30083


git-svn-id: http://core.svn.wordpress.org/trunk@30083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-10-29 01:21:24 +00:00
parent 3d8e31fb82
commit 6142a650b7
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
settings = _wpmejsSettings;
}
settings.success = function (mejs) {
settings.success = settings.success || function (mejs) {
var autoplay, loop;
if ( 'flash' === mejs.pluginType ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30082';
$wp_version = '4.1-alpha-30083';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.