[whatwg] HTML5 video <source> dimensions and bitrate

Zachary Ozer zach at longtailvideo.com
Mon Aug 9 16:00:18 PDT 2010


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



More information about the whatwg mailing list