src/widgets/JwpPlayer.js
changeset 987 7b65bf78873a
parent 970 b1c3bf6eca78
child 1005 768bd0691ed1
--- a/src/widgets/JwpPlayer.js	Wed Dec 19 19:02:52 2012 +0100
+++ b/src/widgets/JwpPlayer.js	Thu Jan 17 17:25:46 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") {