* Update video player to remove tooltip for current time on play progress bar (#1478)

Co-authored-by: Preston <freetubeapp@protonmail.com>
This commit is contained in:
PikachuEXE 2021-08-25 06:46:42 +08:00 committed by GitHub
parent 6ebb000cb3
commit d010725b39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -274,6 +274,11 @@ export default Vue.extend({
}, 200)
}
// Remove built-in progress bar mouse over current time display
// `MouseTimeDisplay` in
// https://github.com/videojs/video.js/blob/v7.13.3/docs/guides/components.md#default-component-tree
this.player.controlBar.progressControl.seekBar.playProgressBar.removeChild('timeTooltip')
if (this.useSponsorBlock) {
this.initializeSponsorBlock()
}