[Webkit-unassigned] [Bug 201216] New: Setting currentTime doesn't work on loadedmetadata event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 28 05:46:53 PDT 2019


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

            Bug ID: 201216
           Summary: Setting currentTime doesn't work on loadedmetadata
                    event
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bursacdamjan at gmail.com

I want to implement functionality to play video from some time. 
Sometimes it's working, sometimes not.

Browser: Safari 12.1.2 (14607.3.9)
OS: macOS Mojave 10.14.6 (18G95)
Video stream protocol: HLS
Web player: Safari native player

I implement that in a way that set HTMLMediaElement.currentTime when loadedmetadata event is triggered.

Expected:
Play video from setted currentTime.

Actual:
Sometimes video plays from beginning, sometimes video plays from setted time.

Example could be found on link:
https://codepen.io/index23-the-decoder/pen/ExYmGyd

This example always works fine on other web players like video.js.

-- 
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/20190828/135a3f44/attachment.html>


More information about the webkit-unassigned mailing list