Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/TimedText/resources/mw.TimedText.js |
— | — | @@ -116,7 +116,7 @@ |
117 | 117 | }, |
118 | 118 | destroy:function(){ |
119 | 119 | // remove any old player bindings; |
120 | | - $( this.embedPlayer ).unbind( this.bindPostFix ) |
| 120 | + $( this.embedPlayer ).unbind( this.bindPostFix ); |
121 | 121 | }, |
122 | 122 | /** |
123 | 123 | * Add timed text related player bindings |
— | — | @@ -346,7 +346,7 @@ |
347 | 347 | |
348 | 348 | var positionOpts = { }; |
349 | 349 | if( this.embedPlayer.supports[ 'overlays' ] ){ |
350 | | - var positionOpts = { |
| 350 | + positionOpts = { |
351 | 351 | 'directionV' : 'up', |
352 | 352 | 'offsetY' : this.embedPlayer.controlBuilder.getHeight(), |
353 | 353 | 'directionH' : 'left', |
— | — | @@ -963,8 +963,8 @@ |
964 | 964 | if( $capTarget.length == 0 ){ |
965 | 965 | $capTarget = $( '<div />' ) |
966 | 966 | .addClass( 'captionsLayoutTarget' ) |
967 | | - .css( layoutCss ) |
968 | | - this.embedPlayer.$interface.append( $capTarget ) |
| 967 | + .css( layoutCss ); |
| 968 | + this.embedPlayer.$interface.append( $capTarget ); |
969 | 969 | } |
970 | 970 | return $capTarget; |
971 | 971 | }, |
— | — | @@ -1035,7 +1035,7 @@ |
1036 | 1036 | 'bottom': 10, |
1037 | 1037 | 'width': '100%', |
1038 | 1038 | 'display': 'block', |
1039 | | - 'opacity': .8, |
| 1039 | + 'opacity': 0.8, |
1040 | 1040 | 'text-align': 'center', |
1041 | 1041 | 'z-index': 2 |
1042 | 1042 | }; |
— | — | @@ -1103,7 +1103,7 @@ |
1104 | 1104 | } |
1105 | 1105 | if( options.fontsize ) { |
1106 | 1106 | // Translate to em size so that font-size parent percentage |
1107 | | - style[ "font-size" ] = ( options.fontsize > 24 ) ? '1.5em' : Math.round( options.fontsize * .0625 * 1000 ) / 1000 + 'em'; |
| 1107 | + style[ "font-size" ] = ( options.fontsize > 24 ) ? '1.5em' : Math.round( options.fontsize * 0.0625 * 1000 ) / 1000 + 'em'; |
1108 | 1108 | } |
1109 | 1109 | |
1110 | 1110 | if( options.useGlow && options.glowBlur && options.glowColor ) { |