[Laszlo-user] [laszlouser] Simple MP3 example in SOLO mode
Prateek Dayal
prateek.dayal at gmail.com
Mon Mar 31 21:34:20 PDT 2008
Hi
Last couple of months, I have been working in openlaszlo to develop
widgets playing a simple mp3 file, xspf playlists and icecast streams.
Most of my source code is available online at
http://code.google.com/p/mp3playerinlaszlo/
Please feel free to browse or use this code. I have to yet put a
license to it. The code works except for minor bugs here and there
(volume adjustments etc). I would also appreciate some comments on it
if someone has the time. You can see the icecast widget in action at
http://muziboo.com/radio
The simplest example is button.lzx .. a button player that can also be
found in action at http://muziboo.com/song/index_new
Regards
Prateek
On Tue, Apr 1, 2008 at 3:52 AM, David Temkin <temkin at laszlosystems.com> wrote:
> 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/
> >
>
>
--
Prateek Dayal
www.Muziboo.com
get an audience
More information about the Laszlo-user
mailing list