Author: seba.wagner
Date: Sat Sep 20 00:46:39 2008
New Revision: 1554

Added:
    trunk/openmeetings_lps411/.project
Modified:
    trunk/openmeetings_lps411/maindebug.lzx.lzr=swf8.swf
     
trunk/openmeetings_lps411/modules/conference/conference/conferenceView.lzx
     
trunk/openmeetings_lps411/modules/conference/video/videoObjectBroadcast.lzx
    trunk/openmeetings_lps411/modules/conference/whiteboard/base/baseDraw.lzx

Log:
Fixes Video to work in LPS-4.1.1 for presenter

Added: trunk/openmeetings_lps411/.project
==============================================================================
--- (empty file)
+++ trunk/openmeetings_lps411/.project  Sat Sep 20 00:46:39 2008
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>openmeetings_lps411</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+       </buildSpec>
+       <natures>
+       </natures>
+</projectDescription>

Modified: trunk/openmeetings_lps411/maindebug.lzx.lzr=swf8.swf
==============================================================================
Binary files. No diff available.

Modified:  
trunk/openmeetings_lps411/modules/conference/conference/conferenceView.lzx
==============================================================================
---  
trunk/openmeetings_lps411/modules/conference/conference/conferenceView.lzx      
 
(original)
+++  
trunk/openmeetings_lps411/modules/conference/conference/conferenceView.lzx      
 
Sat Sep 20 00:46:39 2008
@@ -7,26 +7,30 @@
        <attribute name="initH" />
        <attribute name="initW" />

+       <!--
+       disabled cause it does not work in LPS-4.1.1
+        swagner 20.09.2008
        <handler name="oninit">
          <![CDATA[
-         this.setAttribute("initH",this.height);
-         this.setAttribute("initW",this.width);
-         var f=function() {
-              var w=this.height * this.initW/this.initH;
-              w=((w < this.initW ) ? initW : w);
-              var h=this.width * this.initH/this.initW;
-              h=((h < this.initH ) ? initH : h);
-
-              this.setWidth(w);
-              this.setHeight(h);
-         }
+             this.setAttribute("initH",this.height);
+             this.setAttribute("initW",this.width);
+             var f=function() {
+                     var w=this.height * this.initW/this.initH;
+                     w=((w < this.initW ) ? initW : w);
+                     var h=this.width * this.initH/this.initW;
+                     h=((h < this.initH ) ? initH : h);
+       
+                     this.setWidth(w);
+                     this.setHeight(h);
+             }
            var prop1 = [this, "width"];
            var prop2 = [this, "height"];
            this.applyConstraint("width", f, prop1);
            this.applyConstraint("height", f, prop2);
+
          ]]>
        </handler>
-
+     -->
          <simpleLabelButton y="${ parent.height-19 }" x="${  
parent.width-this.width-1 }"
                                           height="18" labelid="213" >
                <handler name="onclick">

Modified:  
trunk/openmeetings_lps411/modules/conference/video/videoObjectBroadcast.lzx
==============================================================================
---  
trunk/openmeetings_lps411/modules/conference/video/videoObjectBroadcast.lzx     
 
(original)
+++  
trunk/openmeetings_lps411/modules/conference/video/videoObjectBroadcast.lzx     
 
Sat Sep 20 00:46:39 2008
@@ -17,18 +17,21 @@
        this.syncuser.bringToFront();
        this._loudness.bringToFront();
        this.showuser.bringToFront();
-      this.setAttribute("ratioW",this.width / myconferenceView.initW);
-      this.setAttribute("ratioH",this.height / myconferenceView.initH);
+
+      //disabled cause it does not work in LPS-4.1.1
+      //  swagner 20.09.2008
+      //this.setAttribute("ratioW",this.width / myconferenceView.initW);
+      //this.setAttribute("ratioH",this.height / myconferenceView.initH);

-      this.setAttribute("width",myconferenceView.width * this.ratioW);
-      this.setAttribute("height",myconferenceView.height * this.ratioH);
+      //this.setAttribute("width",myconferenceView.width * this.ratioW);
+      //this.setAttribute("height",myconferenceView.height * this.ratioH);

-      var f = function () {
-          this.setAttribute("width",myconferenceView.width * this.ratioW);
-          this.setAttribute("height",myconferenceView.height *  
this.ratioH);
-      }
-      var prop = [this.parent, "width"];
-      this.applyConstraint("width", f, prop);
+      //var f = function () {
+      //    this.setAttribute("width",myconferenceView.width *  
this.ratioW);
+      //    this.setAttribute("height",myconferenceView.height *  
this.ratioH);
+      //}
+      //var prop = [this.parent, "width"];
+      //this.applyConstraint("width", f, prop);
       ]]>
    </handler>


Modified:  
trunk/openmeetings_lps411/modules/conference/whiteboard/base/baseDraw.lzx
==============================================================================
---  
trunk/openmeetings_lps411/modules/conference/whiteboard/base/baseDraw.lzx       
 
(original)
+++  
trunk/openmeetings_lps411/modules/conference/whiteboard/base/baseDraw.lzx       
 
Sat Sep 20 00:46:39 2008
@@ -137,7 +137,8 @@
         -->
        <handler name="oninit">
                if (this.isRemoteOID){
-                       this.getOID.doCall();
+            //wrong reference, swagner 20.09.2008
+                       //this.getOID.doCall();
                }
          //Debug.write("********** this oninit: ",this);
                this.basdrawredoView = new LzView(canvas,{visible:false,y:440});

--~--~---------~--~----~------------~-------~--~----~
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