Re: When is the remote video resolution/size known?

On Wed, 11 Dec 2013 20:28:35 +0100, Ami Fischman <fischman@google.com>  
wrote:

>>
>> The <video> tag seems to have no event handlers
>
>
> ?
> http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#mediaeventslists
> many events that fire on <video>.
> The typical answer for getting initial resolution is to listen for first
> timeupdate event and then query the <video>'s video{Width,Height}.
>
>
>> Perhaps one should ask for a "videochange" event?
>>
>
> Yes, please :)

Prayer answered: http://html5.org/r/8347

cheers

> That would be useful for static/VOD (not webrtc/gUM-related)
> mid-stream-resolution-changing videos, as well as MSE, too.
>
> Cheers,
> -a


-- 
Simon Pieters
Opera Software

Received on Thursday, 12 December 2013 21:08:20 UTC