The HLS sources for some of these test streams live here: dylanjha/hls-streams
After the 2nd loop in Safari iOS 14.3 on iPhone X or iPhone 12 we're seeing the playback glitch
This is an HLS video created with Mux video
This is an HLS video that Hls.js uses as a test stream (I downloaded it and made it shorter by removing a bunch of the segments at the end)
This is an HLS video created with a fairly vanilla ffmpeg command
This is an attempt to avoid the 'loop' attribute. We will listen for the player to emit 'ended' and then call play() manually. (Doesn't help with the bug).