On 9/30/2010 9:27 PM, Leandro Santiago wrote:
> With html5 you can do:
>
> var music = new Audio();
> music.src = "http://mymusic.com/music.ogg";; // relative or absolute url
> music.play();
> music.pause();
> music.volume = 0.5; // 0.0 - 1.0
>
> It's easy to create a music player in pure javascript :-)

Ah, silly me. I saw HTML5 and assumed there would be little support. IE 
seems to suck, but that does not count, does it? :)

I'll give it a try. I do not want the user to see a player with controls 
and all, I just want to surprise them. :)

>
> The codecs question is the big problem. Ogg os supported in ff, opera,
> chrome and khtml, but it isn't supported in Safari or IE. Safari and
> IE9 support only mp3, I think.

Fortunately I am playing sound files I choose, sadly they are all wavs 
and will have to be tediously run thru Audacity. :)

Thx, kt

-- 
http://www.stuckonalgebra.com
"The best Algebra tutorial program I have seen... in a class by itself." 
Macworld

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to