It uses gstreamer for linux and DirectShow for windows. I'm hoping to write a mac version soon that will probably use quicktime.
Screen shot:

Linux binaries
xulmusic-0.1.tar.gz
Windows binaries
xulmusic-0.1.tar.gz
Update:
The linux binaries were built on a fedora core 3 machine, having dependencies on gstreamer-0.8
Update:
I forgot the most important part! This is a xulrunner package. To try it out you need to download xulrunner. I would get one of the nightlies from mozilla.org.
If you're curious about xulrunner the wiki page should provide a good starting place.

24 comments:
Well, it was kind of complicated to get it going (having to unzip all kinds of stuff, and making shortcuts, etc).
Also, I get kind of garbled music.
But for the rest: really awesome!!!
XUL music, who had thought this was possible.
Would probably make better sense to package it as an FF extension - see MAB.
Hi Todd,
Very cool!
I'm currently working on an open-source Mozilla-based SIP/VoIP client which, among other things, contains a cross-platform audio/streaming lib.
Maybe we could collaborate?
Give me a shout if you are interested: alex at croczilla.com
I was trying to find a component that would let me play music in a xulrunner app ( I have not yet tried to build an xpcom myself ).. But this looks great.. Hope you don't mind if I am going to play with this..
alex: what kind of files can your component play ?
tazman: so far only voip streams (iLBC, speex)
Oooooooh nice!
A million ideas come to my mind
A remote music player is one.
Have your music online, share it with everybody ;-)
Nice job!
Hey guys,
How about putting together a blogroll of all XUL bloggers?
I just started mine here at blogspot and would like to know, besides Todd, who else is bloggin about XUL.
George
http://www.georgenava.com
http://www.bloxor.com
tazman: Yep feel free to use my code however you like. I wrote it both to play my music and as an example for xulrunner...
Ooh, this is awesome.
I hope you’ll make an official project out of it! With Winamp’s lack of updates and problems with e.g. UTF-8, I need something to replace it ^_^.
For starters, you might want to allow multiple file selection in the add file window, and change its title too (which is currently a bit... weird :)).
~Grauw
I'm very interested in XUL Music as an example "XUL+audio" program. Though I have a problem : I can run the GUI, select a song, but then, when I push the "play" button, I don't get any sound and nothing happens (no freeze, no play, no warning). I'm running Linux. I've checked that nothing is blocking my sound card, since I can play the file with XMMS.
Have you any idea? I'm very new to XUL programming.
Greg
nice music man!
Ok, it's me who had a problem under Linux. I think it comes from an old version of Gstreamer (0.6.3). It works fine under Windows.
Todd : is it possible to add a setPosition(in double position) to the xMTrack.idl file? Being forced to go to the closest second is not very convenient...
Anyway, good job, you should start a real project around this.
Greg
My wishlist :
* play(in long start, in long end)
* play(in double start, in double end)
* setPosition(in double position)
Thanks,
Greg
Could we have a look at the source code for the component ?
Click on the "Xul Music" title, or go to :
https://updates.simosoftware.com/repos/xulmusic
Greg
If you have wget, do :
wget -r -L -x https://updates.simosoftware.com/repos/xulmusic/
Greg
I made some updates see my new post
Top gear! This is the only XULRunner sample I can find on the planet -- with both XUL and XPCOM parts.
I'm anxious to get into xul dev for desktop but am failing to get this example up and running. I've followed the XULRunner Installation guide for 1.8.0.1, and I followed the installation instructions at the end of that, substituting your untar'd file path info. I see that there's now an executable under Program Files\MozillaTest, but when I dbl-click to execute, nothing happens that I can see... ideas?
bronius,
I think you need to run the start.bat file in the package. Be sure it points to the correct xulrunner.exe... It has been a while for me now since I worked on this project, I hope to have some free time soon to work on it more
todd-
thanks for the know-how. I don't see anything but the essentials in the .gz for windows at the top of this post. If you have the time, I am a bit curious to see this thing whir, but it's not critical-- the one thing I really wanted to learn (chromeless fullscreen) to do I figured out I can do against the Mozilla install already on my machine afterall.
Still, good stuff.
Hi .nice blog.I am HR of a well-developing concern.I need to post jobs .can anybody suggest best way..
thank you............
Top blog
hello todd!
could you please tell me how to embed audio and video files in a simple XUL-GUI? can I do this a similar way I do this in HTML? could you show me a small example, please?
I know thats not a forum, but I cannot find any information about this.
thanks a lot!
claudette
Post a Comment