Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/EmbedPlayer.loader.js |
— | — | @@ -72,11 +72,12 @@ |
73 | 73 | $( playerElement ).attr( "id", 'v' + ( rewriteElementCount++ ) ); |
74 | 74 | } |
75 | 75 | |
76 | | - // Add an overlay loader |
77 | | - $( playerElement ) |
78 | | - .getAbsoluteOverlaySpinner() |
79 | | - .attr('id', 'loadingSpinner_' + $( playerElement ).attr('id') ) |
80 | | - |
| 76 | + // Add an overlay loader ( firefox has its own native loader ) |
| 77 | + if( !$.browser.mozilla ){ |
| 78 | + $( playerElement ) |
| 79 | + .getAbsoluteOverlaySpinner() |
| 80 | + .attr('id', 'loadingSpinner_' + $( playerElement ).attr('id') ) |
| 81 | + } |
81 | 82 | // Add core "skin/interface" loader |
82 | 83 | var skinString = $( playerElement ).attr( 'class' ); |
83 | 84 | if( ! skinString |
Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayer.js |
— | — | @@ -358,7 +358,7 @@ |
359 | 359 | } ); |
360 | 360 | |
361 | 361 | // If we don't already have a loadSpiner add one: |
362 | | - if( $('#loadingSpinner_' + playerInterface.id ).length == 0 ){ |
| 362 | + if( $('#loadingSpinner_' + playerInterface.id ).length == 0 && !$.browser.mozilla ){ |
363 | 363 | if( playerInterface.useNativePlayerControls() || playerInterface.isPersistentNativePlayer() ) { |
364 | 364 | var $spinner = $( targetElement ) |
365 | 365 | .getAbsoluteOverlaySpinner(); |