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:
parent
e6bbbb3db9
commit
5569f01459
@ -11,7 +11,7 @@
|
||||
settings = _wpmejsSettings;
|
||||
}
|
||||
|
||||
settings.success = function (mejs) {
|
||||
settings.success = settings.success || function (mejs) {
|
||||
var autoplay, loop;
|
||||
|
||||
if ( 'flash' === mejs.pluginType ) {
|
||||
|
Loading…
Reference in New Issue
Block a user