mirror of
https://github.com/goodtube4u/goodtube.git
synced 2025-11-22 10:16:11 +00:00
Phantom play bug fix, sort of
This commit is contained in:
12
goodtube.js
12
goodtube.js
@@ -1013,8 +1013,10 @@
|
||||
goodTube_player_syncStartingTime();
|
||||
}
|
||||
|
||||
// Play the video (this solves some edge cases)
|
||||
goodTube_player_play();
|
||||
// Play the video (this solves some edge cases in Firefox)
|
||||
if (navigator.userAgent.toLowerCase().indexOf('firefox') !== -1) {
|
||||
goodTube_player_play();
|
||||
}
|
||||
}
|
||||
|
||||
// Sync the starting time
|
||||
@@ -1976,8 +1978,10 @@
|
||||
// Sync the autoplay
|
||||
goodTube_hideAndMuteAdsFallback_syncAutoplay();
|
||||
|
||||
// Play the video (this solves some edge cases)
|
||||
goodTube_player_play();
|
||||
// Play the video (this solves some edge cases in Firefox)
|
||||
if (navigator.userAgent.toLowerCase().indexOf('firefox') !== -1) {
|
||||
goodTube_player_play();
|
||||
}
|
||||
|
||||
// If we're in fullscreen already
|
||||
if (document.fullscreenElement) {
|
||||
|
||||
4
goodtube.min.js
vendored
4
goodtube.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user