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

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

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #5 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-07-19 19:46:11 UTC ---
(In reply to comment #4)
> 
> I only just noticed that the MediaController's paused state is true when *any*
> slave is paused.

I don't think that's accurate — what part of the spec says that?


> The MediaController is representing the combined state of all slaves.
> Therefore, a MediaController's paused state should be true only when *all*
> slaves are paused (not when one of them is). Further, a pause() and play() call
> on the controller need to be propagated to all slaves - I couldn't find this in
> the spec.

The paused state of MediaControllers is mostly independent of the state of the
slaves.


> Then, the combined resource will continue playing until all slaves reach ended,
> at which point the controller reaches ended. Now, when all slaves have reached
> ended, we could put them all into paused state, which is what a combined play
> button would also show at this instance, thus removing the weird side-effect
> that you pointed out.

Hm, interesting approach. Let me think about how to do that.

-- 
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 Tuesday, 19 July 2011 19:46:17 UTC