diff options
| author | 138138138 <78271024+138138138@users.noreply.github.com> | 2022-03-27 18:32:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-27 18:32:00 +0800 |
| commit | 2c22b0839f7dced5e82c1f1b23e040ea0849461d (patch) | |
| tree | b65261d8b8620321f1abcd95d6f5278efdcdf339 /assets/js/watch.js | |
| parent | f4e19ac05c33f0a0995fe9cbb7678cd0b90a3149 (diff) | |
| download | invidious-2c22b0839f7dced5e82c1f1b23e040ea0849461d.tar.gz invidious-2c22b0839f7dced5e82c1f1b23e040ea0849461d.tar.bz2 invidious-2c22b0839f7dced5e82c1f1b23e040ea0849461d.zip | |
Safari audio double duration fix for iOS 15
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.
Diffstat (limited to 'assets/js/watch.js')
0 files changed, 0 insertions, 0 deletions
