[Bug 8731] Consider expanding buffering control for media elements

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8731





--- Comment #12 from Silvia Pfeiffer <silviapfeiffer1@gmail.com>  2010-02-14 06:41:47 ---
(In reply to comment #11)
> Proposal based on reading the long mailing-list thread and all the comments on
> this bug:
> 
> We drop the autobuffer and autoplay attributes and replace them with one
> enumerated attribute called "loadhint", which takes the following values:
> 
>    loadhint=none*      -- load nothing
>    loadhint=minimal*   -- load duration and size information only
>    loadhint=autobuffer -- load at least enough to play through
>    loadhint=autoplay   -- same as autoplay="" today
> 
> (* I don't especially like the values "none" and "minimal", if anyone has any
> clearly better suggestions please let me know)
> 
> Any objections?
> 


We could use "metadata" instead of "minimal", since that relates to the
onmetadata event firing.

Does "autobuffer" mean: keep buffering until you reach the end of the file
(which is what I am assuming)
or does it mean: keep buffering enough so you can play the next few seconds.

It would be great if we had a hint that stops a video from being buffered all
the way through, even if the user hits pause after 3 seconds. I have this
problem with YouTube all the time: once it starts playing, it will buffer
everything, even if I only watch the first few seconds. That's an enormous
waste of bandwidth. It would be better to just progressively buffer enough to
be able to continue playing without getting stalled, but stop buffering on
pause. Maybe a fifth value is needed - and that was what "playthrough" was
meant to be.

Also, I wonder why you merged removal of the autoplay attribute with this. I
think whether a video autoplays or not is a different dimension to whether it
should buffer everything or not. Autoplay implies buffering beyond minimal,
yes, but whether it implies a full buffering or a buffer of "playthrough"
dimensions could be defined by the loadhint.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 14 February 2010 06:41:49 UTC