Index: branches/js2-work/phase3/js/mwEmbed/skins/ctrlBuilder.js |
— | — | @@ -600,11 +600,11 @@ |
601 | 601 | return false; |
602 | 602 | } |
603 | 603 | // If the config is false |
604 | | - if( ! mw.getConfig( 'overlayControls' ) ){ |
| 604 | + if( mw.getConfig( 'overlayControls' ) === false){ |
605 | 605 | return false; |
606 | 606 | } |
607 | 607 | // If disabled via the player |
608 | | - if( ! this.embedPlayer.overlayControls ){ |
| 608 | + if( this.embedPlayer.overlayControls === false ){ |
609 | 609 | return false; |
610 | 610 | } |
611 | 611 | // don't hide controls when content "height" is 0 ( audio tags ) |
Index: branches/js2-work/phase3/js/mwEmbed/skins/common/common.css |
— | — | @@ -65,17 +65,9 @@ |
66 | 66 | width:16px; |
67 | 67 | height:16px; |
68 | 68 | } |
69 | | -div.floatleft, table.floatleft { |
70 | | - border:0pt none; |
71 | | - clear:left; |
72 | | - float:left; |
73 | | - margin:0pt 0.5em 0.5em 0pt; |
74 | | - position:relative; |
75 | | -} |
76 | 69 | |
77 | 70 | |
78 | 71 | |
79 | | - |
80 | 72 | .large_play_button { |
81 | 73 | display:block; |
82 | 74 | width: 130px; |