[Webkit-unassigned] [Bug 123879] Ended event should be triggered also when playback rate is negative

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 6 10:49:17 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=123879





--- Comment #5 from Eric Carlson <eric.carlson at apple.com>  2013-11-06 10:48:04 PST ---
(In reply to comment #0)
> Ended event was triggered only when payback was going forward. According to W3C specification ended event should be triggered also when playback rate is negative and reaches the earliest position.

This is correct, the latest editor's draft says [1]:

A media element is said to have ended playback when:

    The element's readyState attribute is HAVE_METADATA or greater, and
    Either:

        The current playback position is the end of the media resource, and
        The direction of playback is forwards, and
        Either the media element does not have a loop attribute specified, or the media element has a current media controller.

    Or:

        The current playback position is the earliest possible position, and
        The direction of playback is backwards.

[1] http://www.w3.org/html/wg/drafts/html/CR/embedded-content-0.html#ended-playback

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list