Index: branches/MwEmbedStandAlone/remotes/mediaWiki.js |
— | — | @@ -390,11 +390,11 @@ |
391 | 391 | |
392 | 392 | // If in a gallery box or filehistory we will be displaying the video larger in a lightbox |
393 | 393 | if( $j( '#' + vidId ).parents( '.gallerybox,.filehistory' ).length ){ |
394 | | - // Update the width to 400 and keep scale |
| 394 | + // Update the width to 420 and keep scale |
395 | 395 | pwidth = 400; |
396 | 396 | if( pheight != 0 ) { |
397 | | - pheight = pwidth * ( $j( '#' + vidId ).height() / $j( '#' + vidId ).width() ); |
398 | | - } |
| 397 | + pheight = pwidth * ( $j( '#' + vidId ).height() / $j( '#' + vidId ).width() ); |
| 398 | + } |
399 | 399 | } |
400 | 400 | |
401 | 401 | if ( src ) { |
— | — | @@ -455,7 +455,7 @@ |
456 | 456 | var _this = this; |
457 | 457 | |
458 | 458 | var dialogHeight = ( pheight == 0 )? 175 : |
459 | | - ( pheight - 25 ); |
| 459 | + ( pheight + 25 ); |
460 | 460 | var buttons = {}; |
461 | 461 | buttons[ gM( 'mwe-ok' ) ] = function(){ |
462 | 462 | var embedPlayer = $j( '#mwe_' + $j( _this ).data( 'playerId' ) ).get(0); |