[Webkit-unassigned] [Bug 233257] New: Safari intermittently stopping playing Spotify Web Player (currentTime goes backwards)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 17 08:20:46 PST 2021


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

            Bug ID: 233257
           Summary: Safari intermittently stopping playing Spotify Web
                    Player (currentTime goes backwards)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
               URL: https://open.spotify.com/
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsnedders at apple.com
                CC: eric.carlson at apple.com, jer.noble at apple.com,
                    webkit-bug-importer at group.apple.com

Every so often, it appears that HTMLVideoElement plays beyond the end of the duration (i.e., media.currentTime > media.duration), and there appears to be some case where the currentTime can move _backwards_ while playing in that state.

Specifically, looking at timeupdate events:

[Log] currentTime: 197.2047248660011, duration: 197.09333333333333, lastTimeUpdatePosition: 196.95360709999474 (vendor~web-player.526a81f5.js, line 1)
[Log] currentTime: 197.09790954431364, duration: 197.09333333333333, lastTimeUpdatePosition: 197.20374170400382 (vendor~web-player.526a81f5.js, line 1)

(lastTimeUpdatePosition is from their own JS, but updated for each event, currentTime and duration are from the HTMLVideoElement)

Ultimately, this causes their JS to throw an exception (because, except when seeking or changing track, they assume currentTime will always progress forwards), causing playback to stop.

-- 
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/20211117/8dc6c28b/attachment.htm>


More information about the webkit-unassigned mailing list