W3C home > Mailing lists > Public > public-html@w3.org > June 2009

Re: <video> toggling video rendering

From: Robin Berjon <robin@berjon.com>
Date: Tue, 23 Jun 2009 12:27:22 +0200
Cc: "public-html@w3.org WG" <public-html@w3.org>
Message-Id: <D2681925-EB84-43EF-A109-647170E9D5EB@berjon.com>
To: Michael A. Puls II <shadow2531@gmail.com>
On Jun 23, 2009, at 11:40 , Michael A. Puls II wrote:
>> or use <audio>, and then the browser can optimize away the video  
>> decoding.
> Yes, I see that this works. But, that seems more complicated to  
> switch between <video> and <audio> to get the effect.

It's not that complicated really, and semantically it does make more  
sense. What's more with the toggled off <video> you'd have to specify  
what to do if it's passed to drawImage() or createPattern(), and  
neither option (decoding offscreen to be ready when asked even though  
nothing is shown, or returning nothing) is all that elegant. The same  
applies to controls, what width and height would be, etc.

Robin Berjon - http://berjon.com/
     Feel like hiring me? Go to http://robineko.com/
Received on Tuesday, 23 June 2009 10:27:57 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:46 UTC