diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-16 20:09:36 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-16 20:29:26 +0100 |
commit | 9c89a45cb2a7bb46e68fb084723a2046b12c7617 (patch) | |
tree | 8524b4bd6444856dc5cbc6194c38d00efa27fc36 /client/src/app/videos/video-watch/video-watch.component.html | |
parent | 73ce7f96762de2238ff998cf1896df6e5cbf0973 (diff) | |
download | PeerTube-9c89a45cb2a7bb46e68fb084723a2046b12c7617.tar.gz PeerTube-9c89a45cb2a7bb46e68fb084723a2046b12c7617.tar.zst PeerTube-9c89a45cb2a7bb46e68fb084723a2046b12c7617.zip |
Client: add video not found message if the video... is not found
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.html | 5 |
1 files changed, 4 insertions, 1 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 cb91bae7e..2dfc25f56 100644 --- a/client/src/app/videos/video-watch/video-watch.component.html +++ b/client/src/app/videos/video-watch/video-watch.component.html | |||
@@ -15,9 +15,12 @@ | |||
15 | 15 | ||
16 | <div class="row"> | 16 | <div class="row"> |
17 | <div class="col-md-12"> | 17 | <div class="col-md-12"> |
18 | <div class="embed-responsive embed-responsive-19by9"> | 18 | <!-- We need the video container for videojs so we just hide it --> |
19 | <div [hidden]="videoNotFound" class="embed-responsive embed-responsive-19by9"> | ||
19 | <video id="video-container" class="video-js vjs-default-skin vjs-big-play-centered"></video> | 20 | <video id="video-container" class="video-js vjs-default-skin vjs-big-play-centered"></video> |
20 | </div> | 21 | </div> |
22 | |||
23 | <div *ngIf="videoNotFound" id="video-not-found">Video not found :'(</div> | ||
21 | </div> | 24 | </div> |
22 | </div> | 25 | </div> |
23 | 26 | ||