Merge pull request #65 from WardPearce/fix/sync-seek
Allow sync to be 3 seconds off
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
} else if (event.type === 'seek' && event.time) {
|
||||
const timeDiff = player.currentTime - event.time;
|
||||
|
||||
if (timeDiff > 3 || timeDiff < 3) {
|
||||
if (timeDiff > 3 || timeDiff < -3) {
|
||||
player.currentTime = event.time;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user