W3C home > Mailing lists > Public > public-media-capture@w3.org > August 2012

Re: Which videoTrack should be played in the <Video> element?

From: Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com>
Date: Sun, 5 Aug 2012 19:31:42 +0200
Message-ID: <501EADFE.10104@ericsson.com>
To: Travis Leithead <travis.leithead@microsoft.com>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 07/30/2012 07:13 PM, Travis Leithead wrote:
>> From: Stefan Hakansson LK
>> [mailto:stefan.lk.hakansson@ericsson.com] I'm not sure we need to
>> define anything more than is already in the HTML5 spec. There it is
>> said more or less that * If a poster is defined for the video
>> element, it is to be showed until video data is available. This is
>> intended to be used to show some image when video is not
>> available. * If the media resource (MediaStream in out case) has a
>> video channel, "the element provides a paint source ....
>> width=source intrinsic width .... height=source intrinsic
>> height...".
>> So to me it is quite clear for the case when a MediaStream has no
>> video track, and the web author instantiates a video element with
>> that MediaStream as source: * If a poster is defined, that has to
>> be shown (with the right dimensions) * If a poster is not defined,
>> no paint source should be provided, and dimension would be zero by
>> zero pixels (as the intrinsic width/height is zero).
>> My question would be, what happens if the author sets the width and
>> height properties of the video element in this situation?
> My guess is that with no poster defined, and no video track, that the
> background of the Video element is transparent (the CSS default) and
> would occupy the assigned space in layout, but with a transparent
> background. Of course CSS styling can make this into whatever it
> wants...
Right. What I really meant was: what happens if the author does _not_ 
define any height/width? Is there a default size, and what is it? Or 
does it (in absence of any input) default to zero?
Received on Sunday, 5 August 2012 17:32:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:11 UTC