[Laszlo-dev] [laszlouser] Simple MP3 example in SOLO mode
David Temkin
temkin at laszlosystems.com
Mon Mar 31 15:22:11 PDT 2008
Hm. Forwarding to the OpenLaszlo.org lists.
On Mar 31, 2008, at 8:21 AM, kevinarpe wrote:
> Hi,
>
> I am a new user to Open Laszlo. Thank you to all who have
> contributed. It seems very impressive so far.
>
> My goal is to develop a very simple slideshow that plays music and has
> a status bar. New York Times online has a similar audio slideshow
> feature.
>
> I can get many, many things to work with images and timers. (Good
> stuff!) But... I cannot get MP3s to play in SOLO mode, even in the
> simplest cases.
>
> I create a simple 10second MP3 using Audiology in Ubuntu Linux and
> save as 128kb constant bit rate with 44.1khz sampling.
>
> I am using the latest OpenLaszlo 4.0.10 (28-Mar-2008).
>
> Here is my code:
> <?xml version="1.0" encoding="UTF-8"?>
> <canvas debug="false"
>>
> <view src="small-sample.mp3" play="true" />
> </canvas>
>
> I compile with the command:
> ~/lps-4.0.10/bin/lzc play.lzx
>
> I get a file, but no audio plays when I load it in my Web browser
> (FireFox). I know my OpenLaz compiler and FlashPlayer works because I
> can get many other things to work in OpenLaszlo.
>
> I have tried the Audio sample from the Learn-Laszlo-in-10-minutes
> demo.
> http://www.openlaszlo.org/lps4/laszlo-explorer/index.jsp?navset=nav10.xml&bookmark=Introduction
>
> See: Basics -> Audio
> The song plays fine. This proves my Linux setup with FlashPlayer can
> play MP3 audio.
>
> Can someone help? I also have the latest version of FlashPlayer.
>
> Let me know.
> Thanks!
> Kevin
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
> http://groups.yahoo.com/group/laszlouser/
>
> <*> Your email settings:
> Individual Email | Traditional
>
> <*> To change settings online go to:
> http://groups.yahoo.com/group/laszlouser/join
> (Yahoo! ID required)
>
> <*> To change settings via email:
> mailto:laszlouser-digest at yahoogroups.com
> mailto:laszlouser-fullfeatured at yahoogroups.com
>
> <*> To unsubscribe from this group, send an email to:
> laszlouser-unsubscribe at yahoogroups.com
>
> <*> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
More information about the Laszlo-dev
mailing list