web/res/metadataplayer/LdtPlayer-core.js
changeset 786 4f473382089e
parent 778 525f00c2d6ac
child 828 6030bef81a51
--- a/web/res/metadataplayer/LdtPlayer-core.js	Wed Feb 06 14:49:35 2013 +0100
+++ b/web/res/metadataplayer/LdtPlayer-core.js	Fri Feb 08 17:23:47 2013 +0100
@@ -1662,6 +1662,12 @@
     
     if (typeof this.width === "undefined") {
         this.width = this.$.width();
+    } else {
+        this.$.css("width", this.width);
+    }
+    
+    if (typeof this.height !== "undefined") {
+        this.$.css("height", this.height);
     }
     
     /* Setting this.player at the end in case it's been overriden