From d010725b39f1f872777e8ed3130addba35e15060 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 25 Aug 2021 06:46:42 +0800 Subject: [PATCH] * Update video player to remove tooltip for current time on play progress bar (#1478) Co-authored-by: Preston --- src/renderer/components/ft-video-player/ft-video-player.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index 09c7e0ff..957e492a 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -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() }