From 754a4a8aa320a753139ae370a607a2ed6756196b Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Sat, 29 May 2021 04:29:35 +0800 Subject: [PATCH] Update video player to remove default big play button shown when paused (#1270) --- src/renderer/components/ft-video-player/ft-video-player.js | 3 +++ 1 file changed, 3 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 3177ddf8..5b30085a 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -221,6 +221,9 @@ export default Vue.extend({ this.player.volume(this.volume) this.player.playbackRate(this.defaultPlayback) + // Remove big play button + // https://github.com/videojs/video.js/blob/v7.12.1/docs/guides/components.md#basic-example + this.player.removeChild('BigPlayButton') if (this.storyboardSrc !== '') { this.player.vttThumbnails({