[whatwg] HTML5 video <source> dimensions and bitrate

Have you looked at the @media attribute? I would suggest to put them there.
As that's not currently specified in media queries, you might want to
demonstrate how it could work and make a proposal to extend the media
queries.

Cheers,
Silvia.

On Tue, Aug 10, 2010 at 9:00 AM, Zachary Ozer <zach at longtailvideo.com>wrote:

> Hello!
>
> I'm working on some bandwidth switching logic for the JW Player for
> HTML5. The way that we've implemented our bandwidth switching logic
> relies on knowing both the dimensions of the video as well as it's
> bitrate (for more info on the logic, see our dynamic streaming
> documentation [1]).
>
> MRSS supports this quite nicely, as their media content elements allow
> for width, height, and bitrate, per our example [2].
>
> As a result, I was wondering if there's some way to attach metadata
> like the dimensions and bitrate to <source> elements of
> HTMLMediaElements in the DOM. I realize that we could wait for
> metadata to arrive for each source, but it would be nice if it was
> possible to make an intelligent choice before attempting to play all
> of them.
>
> Best,
>
> Zach
>
>  [1] :
> http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v4/12208/video-delivery-rtmp-streaming#dynamicstreaming
>  [2] :
> http://developer.longtailvideo.com/player/testing/files/bitrates.xml
>
> --
> Zachary Ozer
> Developer, LongTail Video
>
> w: longtailvideo.com ? e: zach at longtailvideo.com ? p: 212.244.0140 ?
> f: 212.656.1335
> JW Player  |  Bits on the Run  |  AdSolution
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100810/e3482683/attachment.htm>

Received on Monday, 9 August 2010 17:05:33 UTC