W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2008

[whatwg] Audio canvas?

From: Oliver Hunt <oliver@apple.com>
Date: Wed, 16 Jul 2008 04:10:59 -0700
Message-ID: <7FDD680B-B9CF-4D33-AC54-0C3B66763B4A@apple.com>
> 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

--Oliver
Received on Wednesday, 16 July 2008 04:10:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC