mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-14 00:55:10 +00:00
The previous method breaks Always Loop feature on iOS 15. The previous player.currentTime(player.duration() + 1) sometimes breaks the entire player. Now it jumps to (end - 1) seconds when the time goes between over half and (end - 2) seconds. With Always Loop on, player will jump to the beginning after 1 second.