WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
226067
Audio .play() cuts off the beginning of (short?) clips
https://bugs.webkit.org/show_bug.cgi?id=226067
Summary
Audio .play() cuts off the beginning of (short?) clips
Jay
Reported
2021-05-20 21:43:59 PDT
When using `obj.play()` on an audio (mp3) component, the second time .play() is called, the full audio clip does not play.
https://jsfiddle.net/8fbt7rgc/1/
https://stackoverflow.com/questions/67629761/how-to-stop-safari-clipping-fractions-of-time-off-audio-on-second-play
Attachments
Add attachment
proposed patch, testcase, etc.
Jay
Comment 1
2021-05-20 21:58:27 PDT
Oh, wait. The problem I was experiencing, where the second play didn't play all of the 2 second clip, has stopped occurring. So its not a straight black and white "it doesn't work the second time" There seems to be something else going on. I'll update this ticket if the problem occurs again, or close it if the problem does not occur again in the next day or so.
Jay
Comment 2
2021-05-20 22:21:32 PDT
Nope the problem is back. The second (and following times) I press play, the first half a second or so is cut off. Still not sure why its intermittent.
Alexey Proskuryakov
Comment 3
2021-05-21 16:31:59 PDT
I can reproduce with
r277884
.
Radar WebKit Bug Importer
Comment 4
2021-05-27 21:44:16 PDT
<
rdar://problem/78603527
>
Brent Fulgham
Comment 5
2022-06-30 11:38:05 PDT
The fix for this issue needs to be made outside of the WebKit source code, therefore marking this as "RESOLVED | MOVED". The work on that operating system component is being done under this radar: <
rdar://75702167
>
Brent Fulgham
Comment 6
2022-06-30 13:07:04 PDT
We believe this is resolved in: macOS Ventura Beta 2 (and newer). iOS 16.0 Beta 2 (and newer).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug