[whatwg] HTML5 video seeking

Ralph Giles giles at mozilla.com
Mon Nov 14 15:58:02 PST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/11/11 03:49 PM, Aaron Colwell wrote:

> Does this mean the user agent must resume playback at the exact
> location specified?

Maybe you can muck with the 'media.seekable' TimeRanges object to only
show keyframes?

Otherwise, it kind of sounds like you're supposed to start playback at
the requested position. The final paragraph of that section suggests
another out: you can reposition the playback head inside the playback
engine as long as you clip to media.seekable and fire the timeupdate
and seeked events.

 -r

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOwasKAAoJEEcAD3uxRB3vOqkH/0QFNAiOir+EOgZaAhZmhoub
xr0CThlwEIHUoo6TbDHJmqPRaiKVu9hobkf7DScG2yhjUDaT2vTptF2Wg+lgI2LE
pRdjSUi0hArKrNmC8zCV+zG/82yE0l+RlBXOLjLPKXBo0PDqovXKbOknlnv68/P7
0vyhB9t7L8zLhDCL0BEbuF5OoikpW1Zt9iru+ThbY+bU7RTCFSvE0MmnqMAB3MOx
7HOa2liovoeUotoFVEpDMnD5ZbSxbmifax0CRRdcb9u4m/7HG4EaVoK9GOjxmGzA
zqCtVZ7Yb+hoAPQIXP4tqsrgM9ma/U0LKgYj1lQMjD4whyp96X+iv/vNuxvVRh8=
=tort
-----END PGP SIGNATURE-----



More information about the whatwg mailing list