Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/TimedText/resources/mw.TimedText.js |
— | — | @@ -217,7 +217,7 @@ |
218 | 218 | return { |
219 | 219 | 'w': 28, |
220 | 220 | 'o': function( ctrlObj ) { |
221 | | - $textButton = $( '<div />' ) |
| 221 | + var $textButton = $( '<div />' ) |
222 | 222 | .attr( 'title', gM( 'mwe-embedplayer-timed_text' ) ) |
223 | 223 | .addClass( "ui-state-default ui-corner-all ui-icon_link rButton timed-text" ) |
224 | 224 | .append( |
— | — | @@ -531,7 +531,7 @@ |
532 | 532 | } |
533 | 533 | }, |
534 | 534 | /** |
535 | | - * Enalbe a source and update the currentLangKey |
| 535 | + * Enable a source and update the currentLangKey |
536 | 536 | * @param source |
537 | 537 | * @return |
538 | 538 | */ |
Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/EmbedPlayer.config.php |
— | — | @@ -98,17 +98,17 @@ |
99 | 99 | 'EmbedPlayer.MonitorRate' => 250, |
100 | 100 | |
101 | 101 | // If the embedPlayer should accept arguments passed in from iframe postMessages calls |
102 | | - 'EmbedPlayer.EnalbeIFramePlayerServer' => false, |
| 102 | + 'EmbedPlayer.EnableIFramePlayerServer' => false, |
103 | 103 | |
104 | 104 | // If embedPlayer should support server side temporal urls for seeking options are |
105 | 105 | // flash|always|none default is support for flash only. |
106 | 106 | 'EmbedPlayer.EnableURLTimeEncoding' => 'flash', |
107 | 107 | |
108 | 108 | // The domains which can read and send events to the video player |
109 | | - 'EmbedPLayer.IFramePlayer.DomainWhiteList' => '*', |
| 109 | + 'EmbedPlayer.IFramePlayer.DomainWhiteList' => '*', |
110 | 110 | |
111 | 111 | // If the iframe should send and receive javascript events across domains via postMessage |
112 | 112 | 'EmbedPlayer.EnableIframeApi' => true, |
113 | 113 | |
114 | 114 | ); |
115 | | -?> |
\ No newline at end of file |
| 115 | +?> |
Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.MediaElement.js |
— | — | @@ -167,7 +167,8 @@ |
168 | 168 | var _this = this; |
169 | 169 | // Select the default source |
170 | 170 | var playableSources = this.getPlayableSources(); |
171 | | - var flash_flag = ogg_flag = false; |
| 171 | + var flash_flag, oggflag; |
| 172 | + flash_flag = ogg_flag = false; |
172 | 173 | |
173 | 174 | // Check if there are any playableSources |
174 | 175 | if( playableSources.length == 0 ){ |
Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/skins/mw.PlayerControlBuilder.js |
— | — | @@ -1009,7 +1009,7 @@ |
1010 | 1010 | doVolumeBinding: function( ) { |
1011 | 1011 | var embedPlayer = this.embedPlayer; |
1012 | 1012 | var _this = this; |
1013 | | - $volumeSlider = embedPlayer.$interface.find( '.volume-slider' ); |
| 1013 | + var $volumeSlider = embedPlayer.$interface.find( '.volume-slider' ); |
1014 | 1014 | if( $volumeSlider.length == 0 ){ |
1015 | 1015 | return false; |
1016 | 1016 | } |
— | — | @@ -1841,7 +1841,7 @@ |
1842 | 1842 | 'w' : 36, |
1843 | 1843 | 'o' : function( ctrlObj ) { |
1844 | 1844 | mw.log( 'PlayerControlBuilder::Set up volume control for: ' + ctrlObj.embedPlayer.id ); |
1845 | | - $volumeOut = $( '<span />' ); |
| 1845 | + var $volumeOut = $( '<span />' ); |
1846 | 1846 | if ( ctrlObj.volume_layout == 'horizontal' ) { |
1847 | 1847 | $volumeOut.append( |
1848 | 1848 | $( '<div />' ) |
Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/iframeApi/mw.IFramePlayerApiServer.js |
— | — | @@ -184,7 +184,7 @@ |
185 | 185 | }, |
186 | 186 | |
187 | 187 | /** |
188 | | - * Check an origin domain against the configuration value: 'EmbedPLayer.IFramePlayer.DomainWhiteList' |
| 188 | + * Check an origin domain against the configuration value: 'EmbedPlayer.IFramePlayer.DomainWhiteList' |
189 | 189 | * Returns true if the origin domain is allowed to communicate with the embedPlayer |
190 | 190 | * otherwise returns false. |
191 | 191 | * |
— | — | @@ -192,9 +192,9 @@ |
193 | 193 | * The origin domain to be checked |
194 | 194 | */ |
195 | 195 | 'eventDomainCheck': function( origin ){ |
196 | | - if( mw.getConfig( 'EmbedPLayer.IFramePlayer.DomainWhiteList' ) ){ |
| 196 | + if( mw.getConfig( 'EmbedPlayer.IFramePlayer.DomainWhiteList' ) ){ |
197 | 197 | // NOTE this is very similar to the apiProxy function: |
198 | | - var domainWhiteList = mw.getConfig('EmbedPLayer.IFramePlayer.DomainWhiteList'); |
| 198 | + var domainWhiteList = mw.getConfig('EmbedPlayer.IFramePlayer.DomainWhiteList'); |
199 | 199 | if( domainWhiteList == '*' ){ |
200 | 200 | // The default very permissive state |
201 | 201 | return true; |