Bug 257524

Summary: Slight delay at the end of an audio loop
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://www.nyan.cat/index.php?cat=original
See Also: https://bugs.webkit.org/show_bug.cgi?id=230553

Description Karl Dubost 2023-05-30 21:26:17 PDT
1. With Safari Tech Preview 170
2. Go to data:text/html,<!doctype%20html><audio%20controls=""%20autoplay=""%20loop=""><source%20src="https://www.nyan.cat/music/original.mp3"></audio>
3. Click on the Play Button

Result: when the sound is reaching the before, before looping again, there is a slight delay, which doesn't exist in Firefox. 

<audio controls=""
       autoplay=""
       loop="">

Reported originally on https://github.com/webcompat/web-bugs/issues/122785
Comment 1 Radar WebKit Bug Importer 2023-05-30 21:26:27 PDT
<rdar://problem/110043383>
Comment 2 Ahmad Saleem 2023-05-31 07:49:10 PDT
I have seen this as potential concern on Twitter by users, where loop is not true loop and has slight delay as potential reason for Safari not being browser of choice similar to Highspeed playback, which is now fixed by Jer Noble.
Comment 3 Alexey Proskuryakov 2023-05-31 17:51:13 PDT
Dupe of bug 230553?