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

Bryan Berry bryan at olenepal.org
Wed Nov 18 10:18:07 EST 2009


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.

I also need to this for svgs but haven't figured out the mechanism

-- 
Bryan W. Berry
Senior Engineer
OLE Nepal, http://www.olenepal.org



More information about the Sugar-devel mailing list