Revision: 3998
Author:   seba.wagner
Date:     Mon Jul 18 11:34:26 2011
Log:      Fix some settings for the custom layout
http://code.google.com/p/openmeetings/source/detail?r=3998

Modified:
 /trunk/singlewebapp/WebContent/openmeetings/base/remote/baseVideoView.lzx
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/participents/participents.lzx /trunk/singlewebapp/WebContent/openmeetings/modules/conference/video/baseVideoObject.lzx

=======================================
--- /trunk/singlewebapp/WebContent/openmeetings/base/remote/baseVideoView.lzx Sat Nov 28 06:06:34 2009 +++ /trunk/singlewebapp/WebContent/openmeetings/base/remote/baseVideoView.lzx Mon Jul 18 11:34:26 2011
@@ -27,15 +27,21 @@

        <method name="applySizeToVid">
                var vid = this._getflashvideo();
-               vid._width = this.width;
-        vid._height = this.height;
+               if (vid) {
+               vid._width = this.width;
+            vid._height = this.height;
+               } else {
+ if ($debug) Debug.warn("applySizeToVid IS NULL ",this.width,this.height);
+               }
        </method>

     <handler name="onwidth" args="w">
-         this.applySizeToVid();
+       if ($debug) Debug.info("onwidth ",this.width,this.height);
+        this.applySizeToVid();
     </handler>

     <handler name="onheight" args="h">
+       if ($debug) Debug.info("onheight ",this.width,this.height);
         this.applySizeToVid();
     </handler>

=======================================
--- /trunk/singlewebapp/WebContent/openmeetings/modules/conference/participents/participents.lzx Wed Nov 10 05:35:02 2010 +++ /trunk/singlewebapp/WebContent/openmeetings/modules/conference/participents/participents.lzx Mon Jul 18 11:34:26 2011
@@ -234,7 +234,7 @@
                if ($debug) Debug.write("fadeText :1: ",this.refObj);
                if ($debug) Debug.write("fadeText :2: 
",this.refObj.picture_uri);

-               if (this.refObj.startsWith("http")) {
+               if (this.refObj.picture_uri.startsWith("http")) {
                        var downloadurl = this.refObj.picture_uri;
             //Do Load the Custom Moodle Profilee Picture
} else if (this.refObj.externalUserId >= 1 && this.refObj.externalUserType == "moodle") {
=======================================
--- /trunk/singlewebapp/WebContent/openmeetings/modules/conference/video/baseVideoObject.lzx Tue Jun 22 06:08:34 2010 +++ /trunk/singlewebapp/WebContent/openmeetings/modules/conference/video/baseVideoObject.lzx Mon Jul 18 11:34:26 2011
@@ -39,6 +39,8 @@

     <attribute name="hidebyAudioOnly" value="false" type="boolean" />

+    <attribute name="custom" value="false" type="boolean" />
+
     <attribute name="initH" value="40" type="number" />
     <attribute name="initW" value="40" type="number" />

@@ -67,6 +69,19 @@
                this._resizeview.setAttribute("visibility","hidden");
                return;
             }
+
+            if (this.custom) {
+ this._toolbar._showusercontext.setAttribute("visibility","hidden"); + this._toolbar._minimize.setAttribute("visibility","hidden");
+                this._resizeview.setAttribute("visibility","hidden");
+                this._toolbar.setAttribute("visibility","hidden");
+                this._resizeview.setAttribute("visibility","hidden");
+                this._loudness.setAttribute("visibility","hidden");
+                this._innertop.setAttribute("visibility","hidden");
+
+                //return;
+            }
+
             var prop1 = [this, "width"];
             var prop2 = [this, "height"];
             this.applyConstraintMethod("setItemContraints", prop1);
@@ -86,6 +101,10 @@
                    if (this.isInterview) {
                 return;
             }
+
+            if (this.custom) {
+                return;
+            }

                        var bounds = this.getBounds();
                        var parentBounds = canvas.getBounds();
@@ -106,7 +125,11 @@

             if (this.isInterview) {
                 return;
-            }
+            }
+
+            if (this.custom) {
+                return;
+            }

                        var bounds = this.getBounds();
                        var parentBounds = canvas.getBounds();
@@ -167,6 +190,10 @@
             return;
         }

+        if (this.custom) {
+                return;
+        }
+
         if (bool) {
             this.isResizing = true;
             this.rs.apply();
@@ -213,6 +240,10 @@
         if (this.isInterview) {
             return;
         }
+
+        if (this.custom) {
+            return;
+        }

         this.bringToFront();
         parent.bringToFront();

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to