Re: [whatwg] Reporting mid-stream resolution change on video

2013-12-17 Thread Ian Hickson
On Thu, 12 Dec 2013, Ami Fischman wrote: On Thu, Dec 12, 2013 at 2:56 PM, Ian Hickson i...@hixie.ch wrote: I suppose we could fire resize on initial load as well. I guess it depends on what code that uses this looks like. Is the initial size change the same kind of code as resizing, or

[whatwg] Reporting mid-stream resolution change on video

2013-12-12 Thread Ami Fischman
Today the video tag exposes video{Width,Height} attributes that allow the page to discover the resolution of the playing media once metadataloaded has fired. However there is no way for the page to find out that the media resolution has changed mid-stream (short of polling the tag constantly,

Re: [whatwg] Reporting mid-stream resolution change on video

2013-12-12 Thread Ian Hickson
On Thu, 12 Dec 2013, Ami Fischman wrote: Today the video tag exposes video{Width,Height} attributes that allow the page to discover the resolution of the playing media once metadataloaded has fired. However there is no way for the page to find out that the media resolution has changed

Re: [whatwg] Reporting mid-stream resolution change on video

2013-12-12 Thread Ami Fischman
Thanks Ian. My reading of http://html5.org/tools/web-apps-tracker?from=8346to=8347 is that a simple video that never changes size will never see the new resize event. Is that intentional? (I ask b/c e.g. durationchange _is_ fired right before metadataloaded; I'd expect resize durationchange to

Re: [whatwg] Reporting mid-stream resolution change on video

2013-12-12 Thread Ian Hickson
On Thu, 12 Dec 2013, Ami Fischman wrote: Thanks Ian. My reading of http://html5.org/tools/web-apps-tracker?from=8346to=8347 is that a simple video that never changes size will never see the new resize event. Is that intentional? Correct. (I ask b/c e.g. durationchange _is_ fired right

Re: [whatwg] Reporting mid-stream resolution change on video

2013-12-12 Thread Ami Fischman
On Thu, Dec 12, 2013 at 2:56 PM, Ian Hickson i...@hixie.ch wrote: I suppose we could fire resize on initial load as well. I guess it depends on what code that uses this looks like. Is the initial size change the same kind of code as resizing, or is it different code? (e.g. will one set up