[Webkit-unassigned] [Bug 271679] New: video.played TimeRanges missing the last range on ended

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 15:29:23 PDT 2024


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

            Bug ID: 271679
           Summary: video.played TimeRanges missing the last range on
                    ended
           Product: WebKit
           Version: Safari 17
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: siemova at gmail.com

Overview:

When referencing the `played` property/method of a `video` in a handler for its `ended` event, the returned `TimeRanges` object does not include the last time range watched.

Steps to Reproduce:

1) Embed a `video` and register a handler for its `ended` event.
2) Play the video. Skip some portion in the middle, then allow the video to end.
3) In the `ended` event handler, reference `video.played` and observe the missing time range.

Actual Results:

On `ended`, the `TimeRanges` object returned by `video.played` does not include the last time range.

Expected Results:

On `ended`, the `TimeRanges` object returned by `video.played` should include the last time range, just as in Blink and Gecko.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240325/d0396a75/attachment-0001.htm>


More information about the webkit-unassigned mailing list