From bf5685f0b7b1f23a1a3a972fc4d66061f31f9510 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 26 Feb 2018 09:55:23 +0100 Subject: Add fallback to HTTP --- client/src/sass/video-js-custom.scss | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'client/src/sass/video-js-custom.scss') diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss index ee6b9219b..ee8f25949 100644 --- a/client/src/sass/video-js-custom.scss +++ b/client/src/sass/video-js-custom.scss @@ -154,17 +154,17 @@ $control-bar-height: 34px; } } - .vjs-webtorrent { + .vjs-peertube { width: 100%; line-height: $control-bar-height; text-align: right; padding-right: 60px; - .vjs-webtorrent-displayed { + .vjs-peertube-displayed { display: block; } - .vjs-webtorrent-hidden { + .vjs-peertube-hidden { display: none; } @@ -424,3 +424,20 @@ $control-bar-height: 34px; } } +// Error display disabled +.vjs-error:not(.vjs-error-display-enabled) { + .vjs-error-display { + display: none; + } + + .vjs-loading-spinner { + display: block; + } +} + +// Error display enabled +.vjs-error.vjs-error-display-enabled { + .vjs-error-display { + display: block; + } +} -- cgit v1.2.3