Bug 258945

Summary: [HTMLMediaElement ] currentTime shifts after updating playbackRate
Product: WebKit Reporter: Mateusz <mitelak>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, mitelak, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   

Description Mateusz 2023-07-06 13:37:19 PDT
Setting a `playbackRate` causes unexpected shifts of `currentTime` when a video is playing in Safari. 

Example: https://codesandbox.io/s/currenttime-shifts-after-updating-playbackrate-zj27dd

To reproduce open the sandbox, play the video, and click the checkbox for auto playback rate changes. This example works smoothly on Chromium and Firefox, playbackRate change doesn't affect the currentTime. In Safari, the video's current time shifts to another value (sometimes goes forth, sometimes goes back) after changing the playback rate.
Comment 1 Radar WebKit Bug Importer 2023-07-13 13:38:16 PDT
<rdar://problem/112220823>