From ed2e37394e0bdbd20791c759e033bcb3e6cc4d2c Mon Sep 17 00:00:00 2001 From: enahum Date: Fri, 20 May 2016 12:55:52 -0300 Subject: PLT 783 Fix Previews for removed YouTube videos (#3073) * PLT-783 Fix Previews for removed YouTube videos render incorrectly and throw a 404 * Updating video poster for video not found (#3072) --- webapp/sass/components/_videos.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'webapp/sass') diff --git a/webapp/sass/components/_videos.scss b/webapp/sass/components/_videos.scss index e009e6538..b2230f71d 100644 --- a/webapp/sass/components/_videos.scss +++ b/webapp/sass/components/_videos.scss @@ -10,6 +10,22 @@ max-width: 100%; } + .video-thumbnail__error { + height: 100%; + line-height: 2; + padding: 110px 0; + text-align: center; + width: 100%; + + .fa { + @include opacity(.5); + } + + div { + font-size: 1.2em; + } + } + .block { background-color: alpha-color($black, .5); border-radius: 10px; @@ -67,3 +83,7 @@ height: 500px; } } + +.video-loading { + height: 360px; +} \ No newline at end of file -- cgit v1.2.3-1-g7c22