Merge pull request #2990 from 138138138/master
Safari audio double duration fix for iOS 15
This commit is contained in:
		| @@ -675,8 +675,8 @@ if (player_data.preferred_caption_found) { | ||||
| 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); | ||||
|             if (player.remainingTime() < player.duration() / 2 && player.remainingTime() >= 2) { | ||||
|                 player.currentTime(player.duration() - 1); | ||||
|             } | ||||
|         }); | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Samantaz Fox
					Samantaz Fox