[Laszlo-user] Strange video compilation warning

Max Carlson max at laszlosystems.com
Thu Mar 2 21:56:50 EST 2006


Hi Sanford,

Take a look in demos/dashboard/ for a sample media player with video. 
the way you have your resource included will cause it to be compiled 
into the application - you probably want streaming anyway.  Try this:

   <view resource="http:vidsm.swf"/>

-- 
Regards,
Max Carlson
OpenLaszlo.org

Sanford Redlich wrote:
> Hey y'all,
>  
> I'm getting this "Compilation Warning": "
> 
> new_file.lzx:2:30: Can't import \vidsm.swf: 2 >= 2
> 
> Here is the code:
> 
> <canvas>
> 
>  <view resource="vidsm.swf"/>
> </canvas>
> 
> The file ="vidsm.swf" is an AVI video converted to SWF by Sorenson Squeeze 4.3
> 
> Any suggestions?  What does "2 >= 2" mean?  I've tried all kinds of different settings in SS 
> 4.3 with no luck.  
> 
> OpenLaszlo developers: can this warning be made easier to understand?
> 
> Also, is there any example OpenLaszlo code that uses video?  The more complex the better, I'd like to overlay text, etc on the video.
> 
> Thanks,
> 
> Sanford
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user





More information about the Laszlo-user mailing list