[Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Bryan Berry
Hey subzero, Do you know when does an audio element created w/ new Audio() emit the onload event? It doesn't emit that event at the same time that a new Image() does. I need a way to throw an error to the user if the audio file isn't accessible. I do this for the images and it works quite well.

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Felipe López Toledo
hi man It doesn't emit that event at the same time that a new Image() does. I need a way to throw an error to the user if the audio file isn't accessible. I do this for the images and it works quite well. I have used load and error and others events for new Image and new Audio and it seems

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Bryan Berry
I was just playing around w/ it and I found the media.load() method loading audio remotely still doesn't work on chromium -- argh but works fine on FF 3.5. I need to go complain about that. http://karma-testing.sugarlabs.org/tests/index.html I add to put this code here

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Lucian Branescu
The codec might be the issue. Afaik chromium has no codecs. Try Chrome, although I'm not sure it has vorbis either. 2009/11/18 Bryan Berry br...@olenepal.org: I was just playing around w/ it and I found the media.load() method loading audio remotely still doesn't work on chromium -- argh but

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Bryan Berry
it works when the ogg files are local just not when they are remote. It is a known bug in chromium On Wed, 2009-11-18 at 22:20 +, Lucian Branescu wrote: The codec might be the issue. Afaik chromium has no codecs. Try Chrome, although I'm not sure it has vorbis either. 2009/11/18 Bryan

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Lucian Branescu
Oh, sorry about that then. 2009/11/18 Bryan Berry br...@olenepal.org: it works when the ogg files are local just not when they are remote. It is a known bug in chromium On Wed, 2009-11-18 at 22:20 +, Lucian Branescu wrote: The codec might be the issue. Afaik chromium has no codecs. Try

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Felipe López Toledo
2009/11/18 Bryan Berry br...@olenepal.org I was just playing around w/ it and I found the media.load() method loading audio remotely still doesn't work on chromium -- argh but works fine on FF 3.5. I need to go complain about that. mmm, interesting, what version/os are u using? I have tested