Bug 226067
Summary: | Audio .play() cuts off the beginning of (short?) clips | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jay <jay> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED MOVED | ||
Severity: | Normal | CC: | bfulgham, chen.jingan, jer.noble, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 14 | ||
Hardware: | Mac (Intel) | ||
OS: | macOS 11 |
Jay
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
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
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
I can reproduce with r277884.
Radar WebKit Bug Importer
<rdar://problem/78603527>
Brent Fulgham
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
We believe this is resolved in:
macOS Ventura Beta 2 (and newer).
iOS 16.0 Beta 2 (and newer).