Ok, let's try to tackle this from two approaches. Can anyone build a laszlo app that can play a short mp3, or is this a known bug? My application absolutely has to be able to play short mp3's...I'd say the average mp3 dynamically loaded will be around 15 seconds.
Can anyone tell me of an encoder that is *known* to work with the Flash player or have a sample mp3 that is *known* to work with the Flash player (short or long)? Thanks! -z -----Original Message----- From: Max Carlson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 9:00 PM To: Zack Hubert Cc: [email protected] Subject: Re: [Laszlo-user] SOLO + MP3 Hi Zack, This should work, provided you have permissions to load the file from the remote server. In SOLO (proxied="false") mode this requires the remote site (www.zhobert.com in your example) to publish a crossdomain.xml file on the root of their server explicitly giving permission to load the files. I just tested, and zhubert.com doesn't appear to have this issue. I also tested SOLO mode and it does indeed load mp3s, at least local ones. Can you try publishing a longer mp3 file, say at least a minute long? It's possible there's a bug loading short mp3s (which http://www.zhubert.com/obible/mp3/test.mp3 looks like it is...) Also, it's possible your mp3 encoder is producing files the Flash player is having problems playing. Let's try a longer file to be sure. Thanks! Regards, Max Carlson OpenLaszlo.org Note that your example is Zack Hubert wrote: > Howdy all, > > I have an application that would like to be able to reference a variably > named mp3 file and play it (kinda like SoundBlox). I deploy my application > SOLO and would prefer to keep it that way if at all possible. > > I've tried a bunch of different ways to do this, but nothing works. You > click the play button and it's silent, no errors, just nothing. The mp3's > are the right format, if I hardcode them in a resource tag they'll work, but > I want to be able to setSource and do it dynamically at runtime. > > Is this supported? > > (for instance) > > <canvas proxied="true"> > <view > oninit="this.setSource('http://www.zhubert.com/obible/mp3/test.mp3')"/> > </canvas> > > Thanks! > > -z > > _______________________________________________ > Laszlo-user mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-user > _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
