kopia lustrzana https://github.com/iv-org/invidious
Update player.js
rodzic
a6970e02f9
commit
ddd7f3f384
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue