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

Props nofearinc.
Fixes #30029.


git-svn-id: https://develop.svn.wordpress.org/trunk@30083 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-10-29 01:20:03 +00:00
parent e6bbbb3db9
commit 5569f01459
1 changed files with 1 additions and 1 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 ) {