http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88288

Revision: 88288
Author:   dale
Date:     2011-05-17 08:18:28 +0000 (Tue, 17 May 2011)
Log Message:
-----------
set the default size on the audio player to 23px high ( bug 28973 ) 

Modified Paths:
--------------
    trunk/extensions/TimedMediaHandler/TimedMediaTransformOutput.php

Modified: trunk/extensions/TimedMediaHandler/TimedMediaTransformOutput.php
===================================================================
--- trunk/extensions/TimedMediaHandler/TimedMediaTransformOutput.php    
2011-05-17 08:17:44 UTC (rev 88287)
+++ trunk/extensions/TimedMediaHandler/TimedMediaTransformOutput.php    
2011-05-17 08:18:28 UTC (rev 88288)
@@ -52,8 +52,8 @@
                if ( $this->isVideo ) {
                        return intval( $this->height );
                } else {
-                       // Give sound files a height of 20px 
-                       return 20;
+                       // Give sound files a height of 23px
+                       return 23;
                }
        }
        function getPlayerWidth(){
@@ -61,7 +61,7 @@
                if ( $this->isVideo ) {
                        return intval( $this->width );
                } else {
-                       // Give sound files a height of 20px 
+                       // Give sound files a width of 220px 
                        return 220;
                }
        }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to