[whatwg] Audio canvas?

Oliver Hunt oliver at apple.com
Wed Jul 16 04:10:59 PDT 2008

> Question: What do people think about making <audio> more like  
> <canvas> as sketched above?

I don't believe it would be appropriate for the <audio> tag to take on  
such an API.  My reason is that <canvas> is very different from other  
elements -- it doesn't actually support any form of image loading  
itself, all content must be created by script (to paint images to  
canvas you must create Image objects/elements to load the images that  
you then paint, canvas cannot do this directly).

The <audio> (and <video>) tags on the other hand are effectively  
multimedia equivalents to the <img> tag, in that their purpose is to  
display existing remote content, rather than to create content on the  
client side.

> -- Markus


More information about the whatwg mailing list