mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Update player.js
This commit is contained in:
parent
a6970e02f9
commit
ddd7f3f384
1 changed files with 2 additions and 2 deletions
|
@ -549,8 +549,8 @@ if (player.share) {
|
|||
}
|
||||
|
||||
// Safari audio double duration fix
|
||||
player.on('loadedmetadata', function () {
|
||||
if (navigator.vendor == "Apple Computer, Inc." && video_data.params.listen) {
|
||||
if (navigator.vendor == "Apple Computer, Inc." && video_data.params.listen) {
|
||||
player.on('loadedmetadata', function () {
|
||||
player.on('timeupdate', function () {
|
||||
if (player.remainingTime() < player.duration() / 2) {
|
||||
player.currentTime(player.duration() + 1);
|
||||
|
|
Loading…
Reference in a new issue