aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-16 19:15:20 +0200
committerChocobozzz <me@florianbigard.com>2018-07-16 19:15:20 +0200
commit6d88de725321e77486788f64a2e2537f5e6ef0cd (patch)
treee91a165da9a434c6855f7b39663ee2d1e888909b /client/src/app/videos/+video-watch/video-watch.component.html
parent30eac84e71eeb99e70861e5ab75c60fd39dac03c (diff)
downloadPeerTube-6d88de725321e77486788f64a2e2537f5e6ef0cd.tar.gz
PeerTube-6d88de725321e77486788f64a2e2537f5e6ef0cd.tar.zst
PeerTube-6d88de725321e77486788f64a2e2537f5e6ef0cd.zip
Correctly handle error when remote instance is down
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.html')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index f28134ece..21f8f5534 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -1,6 +1,11 @@
1<div class="row"> 1<div class="row">
2 <!-- We need the video container for videojs so we just hide it --> 2 <!-- We need the video container for videojs so we just hide it -->
3 <div id="video-element-wrapper"> 3 <div id="video-element-wrapper">
4 <div *ngIf="remoteServerDown" class="remote-server-down">
5 Sorry, but this video is not available because the remote instance is not responding.
6 <br />
7 Please try again later.
8 </div>
4 </div> 9 </div>
5 10
6 <div i18n class="alert alert-warning" *ngIf="isVideoToTranscode()"> 11 <div i18n class="alert alert-warning" *ngIf="isVideoToTranscode()">