[Laszlo-checkins] r11992 - openlaszlo/trunk/lps/components/extensions/av

hqm@openlaszlo.org hqm at openlaszlo.org
Sat Dec 6 08:13:01 PST 2008


Author: hqm
Date: 2008-12-06 08:12:59 -0800 (Sat, 06 Dec 2008)
New Revision: 11992

Modified:
   openlaszlo/trunk/lps/components/extensions/av/mediastream.lzx
Log:
Change 20081206-hqm-K by hqm at badtzmaru.home on 2008-12-06 11:11:22 EST
    in /Users/hqm/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix for swf9 videostream bug

New Features:

Bugs Fixed: LPP-7400

Technical Reviewer: max
QA Reviewer: promanik
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    
+ There is no "attachVideo" method in SWF9 on the video object we are using


Tests:

+ test case in bug report runs with no error in swf9 and swf8




Modified: openlaszlo/trunk/lps/components/extensions/av/mediastream.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/av/mediastream.lzx	2008-12-06 16:12:49 UTC (rev 11991)
+++ openlaszlo/trunk/lps/components/extensions/av/mediastream.lzx	2008-12-06 16:12:59 UTC (rev 11992)
@@ -672,7 +672,9 @@
                     return;
                 }
                 this.stop();
-                this._flashstream.attachVideo(null);
+                if ($as2) {
+                   this._flashstream.attachVideo(null);
+                }
                 this._flashstream.attachAudio(null);
                 this._flashstream.close();
                 this._flashstream = null;



More information about the Laszlo-checkins mailing list