[Bug 12559] <video> Make paused true at playback end

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

--- Comment #8 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> 2011-07-20 04:45:55 UTC ---
(In reply to comment #6)
> Looks like this would mean putting hooks in the following places:
> 
>  - mediagroup="" setter, probably between steps 2 and 3.
>  - controller IDL attribute setter.
>  - the algorithm that currently sets 'ended'.
> 
> Need to decide what should happen when a video that is shorter than the
> mediagroup's other media resources is ended and the video is switched to
> another media controller rather than to no controller (and whether it depends
> on the length of the media in that other controller).

Would it make sense to take the slave to "ended", but non-paused state until
all of them have reached "ended", then an "ended" on the controller will move
itself to paused and all slaves, too?


> Also need to decide what happens when going backwards and hitting the front.

Is that through an explicit seek by the user or implicit? I would think that
once all have reached "ended" and everything is in "paused" sitting at the end,
then hitting "play" again does a seek to the beginning of them all and raises
the "playing" event. Explicit seeks use whatever state the controller is still
in (paused if ended, playing if not all slaves have ended).

-- 
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 Wednesday, 20 July 2011 04:46:04 UTC