web/res/metadataplayer/JwpPlayer.js
changeset 765 8cde4d15a173
parent 719 d0d3a9369f84
child 940 843f96e4eebd
--- a/web/res/metadataplayer/JwpPlayer.js	Wed Jan 16 18:25:10 2013 +0100
+++ b/web/res/metadataplayer/JwpPlayer.js	Thu Jan 17 15:17:58 2013 +0100
@@ -36,7 +36,9 @@
     _opts.flashplayer = IriSP.getLib("jwPlayerSWF");
     _opts["controlbar.position"] = "none";
     _opts.width = this.width;
-    _opts.height = this.height || Math.floor(.643*this.width);
+    if (this.height) {
+        _opts.height = this.height;
+    }
     
     for (var i = 0; i < _props.length; i++) {
         if (typeof this[_props[i]] !== "undefined") {