From 6e09dbfb96832bc228a7725e62bc80927a3d495f Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 12 Dec 2019 16:25:31 -0500 Subject: [PATCH] show play button when video is paused --- ui/scss/component/_file-render.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/ui/scss/component/_file-render.scss b/ui/scss/component/_file-render.scss index e34b799c1..b9c8d70e8 100644 --- a/ui/scss/component/_file-render.scss +++ b/ui/scss/component/_file-render.scss @@ -104,3 +104,28 @@ pointer-events: none; } } + +.vjs-paused .vjs-big-play-button, +.vjs-paused.vjs-has-started .vjs-big-play-button { + display: block; +} + +.file-render { + .video-js { + display: flex; + align-items: center; + justify-content: center; + + .vjs-big-play-button { + @extend .button--icon; + @extend .button--play; + border: none; + position: static; + z-index: 2; + + .vjs-icon-placeholder { + display: none; + } + } + } +}