Bug 278964
| Summary: | Video.currentTime jumps backwards with certain videos | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Diehr <mdiehr> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eric.carlson, jean-yves.avenard, jer.noble, karlcow, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari 17 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 15 | ||
Michael Diehr
Expected behavior: video.currenTime should not go backwards when playing a movie
Actual behavior: with certain videos, currentTime will jump backwards - this usually happens with autoplay set and only at the start of the video.
Regression testing:
This bug can be reproduced in Safari 17 and Safari Technical Preview 202, on macOS 14 and macOS 15, on both Intel and M1 CPUs.
To Reproduce:
Open this web page and click the play button:
https://xochi.com/webkit/currenttime/
The Log will show this when the bug is evident:
canplay
last=-1 current=0.18661636053366237
last=0.18661636053366237 current=0.0003444169997237623
TIME WENT BACKWARDS
last=0.0003444169997237623 current=0.3970671469993595
last=0.3970671469993595 current=0.6480351129976021
last=0.6480351129976021 current=0.8979972370002867
... etc ...
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
I was able to reproduce this using a build of macOS Sequoia that I have on my machine. It took several reloads before the issue happened.
Radar WebKit Bug Importer
<rdar://problem/135473786>