[Webkit-unassigned] [Bug 250594] New: Let MediaController.currentTime return the position previously set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 13 14:12:49 PST 2023


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

            Bug ID: 250594
           Summary: Let MediaController.currentTime return the position
                    previously set
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

While going through Blink's commit, came across a bug, which is no align with web-spec:

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/32276c29774c6af8a4ad9f6d0d6551bf8323883c

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/html/MediaController.cpp#169

'''

The currentTime attribute must, on getting, return the media element's default playback start position, unless that is zero, in which case it must return the element's official playback position. The returned value must be expressed in seconds. On setting, if the media element's readyState is HAVE_NOTHING, then it must set the media element's default playback start position to the new value; otherwise, it must set the official playback position to the new value and then seek to the new value. The new value must be interpreted as being in seconds.

'''

Web-Spec - https://html.spec.whatwg.org/multipage/media.html#offsets-into-the-media-resource

Just wanted to raise to get input, whether we should go ahead and merge this.

Thanks!

-- 
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/20230113/a4749921/attachment-0001.htm>


More information about the webkit-unassigned mailing list