Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayer.js |
— | — | @@ -937,7 +937,7 @@ |
938 | 938 | // Update the poster and html: |
939 | 939 | this.updatePosterHTML(); |
940 | 940 | // Add the warning |
941 | | - this.controlBuilder.doWarningBindinng( 'EmbedPlayer.DirectFileLinkWarning', |
| 941 | + this.controlBuilder.addWarningBinding( 'EmbedPlayer.DirectFileLinkWarning', |
942 | 942 | gM( 'mwe-embedplayer-download-warn', mw.getConfig('EmbedPlayer.FirefoxLink') ) |
943 | 943 | ); |
944 | 944 | |
Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/skins/mw.PlayerControlBuilder.js |
— | — | @@ -494,7 +494,7 @@ |
495 | 495 | gM( 'mwe-embedplayer-fullscreen-tip-osx') : |
496 | 496 | gM( 'mwe-embedplayer-fullscreen-tip'); |
497 | 497 | |
498 | | - var $targetTip = this.doWarningBindinng( 'EmbedPlayer.FullscreenTip', |
| 498 | + var $targetTip = this.addWarningBinding( 'EmbedPlayer.FullscreenTip', |
499 | 499 | $('<h3/>').html( |
500 | 500 | toolTipMsg |
501 | 501 | ) |
— | — | @@ -712,7 +712,7 @@ |
713 | 713 | } |
714 | 714 | // Add recommend firefox if we have non-native playback: |
715 | 715 | if ( _this.checkNativeWarning( ) ) { |
716 | | - _this.doWarningBindinng( 'EmbedPlayer.ShowNativeWarning', |
| 716 | + _this.addWarningBinding( 'EmbedPlayer.ShowNativeWarning', |
717 | 717 | gM( 'mwe-embedplayer-for_best_experience', mw.getConfig('EmbedPlayer.FirefoxLink') ) |
718 | 718 | ); |
719 | 719 | } |
— | — | @@ -924,8 +924,8 @@ |
925 | 925 | * @param {object} warningMsg The jQuery object warning message to be displayed. |
926 | 926 | * |
927 | 927 | */ |
928 | | - doWarningBindinng: function( preferenceId, warningMsg ) { |
929 | | - mw.log( 'mw.PlayerControlBuilder:: doWarningBindinng: ' + preferenceId + ' wm: ' + warningMsg); |
| 928 | + addWarningBinding: function( preferenceId, warningMsg ) { |
| 929 | + mw.log( 'mw.PlayerControlBuilder:: addWarningBinding: ' + preferenceId + ' wm: ' + warningMsg); |
930 | 930 | // Set up local pointer to the embedPlayer |
931 | 931 | var embedPlayer = this.embedPlayer; |
932 | 932 | var _this = this; |