diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-04 16:04:50 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-04 16:04:50 +0100 |
commit | d1992b93f0f4a4408f803d6320cd26a713e22d5b (patch) | |
tree | e01a8d5b6c37ebdf0f2a190a374d7b97c0508d8b /client/src/app/videos/video-watch/video-watch.component.html | |
parent | 4d19d2f10b691650abe030d0dbb52dc7c8a62441 (diff) | |
download | PeerTube-d1992b93f0f4a4408f803d6320cd26a713e22d5b.tar.gz PeerTube-d1992b93f0f4a4408f803d6320cd26a713e22d5b.tar.zst PeerTube-d1992b93f0f4a4408f803d6320cd26a713e22d5b.zip |
Client: add more informations to watch video view
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 | 83 |
1 files changed, 67 insertions, 16 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 ddabdc9e9..14947da88 100644 --- a/client/src/app/videos/video-watch/video-watch.component.html +++ b/client/src/app/videos/video-watch/video-watch.component.html | |||
@@ -1,23 +1,74 @@ | |||
1 | <div *ngIf="error" class="alert alert-danger"> | 1 | <div *ngIf="error" class="row"> |
2 | The video load seems to be abnormally long. You could: | 2 | <div class="alert alert-danger"> |
3 | <ul> | 3 | The video load seems to be abnormally long. |
4 | <li>Check your browser console to see potentials errors</li> | 4 | <ul> |
5 | <li>Your firewall or NAT could be too restrictive for WebRTC (there is no TURN server)</li> | 5 | <li>Maybe the server {{ video.podUrl }} is down :(</li> |
6 | <li> | 6 | <li> |
7 | Report an issue on | 7 | If not, you can report an issue on |
8 | <a href="https://github.com/Chocobozzz/PeerTube/issues" title="Report an issue"> | 8 | <a href="https://github.com/Chocobozzz/PeerTube/issues" title="Report an issue"> |
9 | https://github.com/Chocobozzz/PeerTube/issues | 9 | https://github.com/Chocobozzz/PeerTube/issues |
10 | </a> | 10 | </a> |
11 | </li> | 11 | </li> |
12 | </ul> | 12 | </ul> |
13 | </div> | ||
13 | </div> | 14 | </div> |
14 | 15 | ||
15 | <div class="embed-responsive embed-responsive-19by9"> | 16 | <div class="row"> |
16 | <my-loader [loading]="loading"></my-loader> | 17 | <div class="col-md-12"> |
18 | <div class="embed-responsive embed-responsive-19by9"> | ||
19 | <my-loader [loading]="loading"></my-loader> | ||
20 | </div> | ||
21 | </div> | ||
17 | </div> | 22 | </div> |
18 | 23 | ||
19 | <div id="torrent-info"> | 24 | <div id="torrent-info" class="row"> |
20 | <div id="torrent-info-download" class="col-md-4 col-sm-4 col-xs-4">Download: {{ downloadSpeed | bytes }}/s</div> | 25 | <div id="torrent-info-download" class="col-md-4 col-sm-4 col-xs-4">Download: {{ downloadSpeed | bytes }}/s</div> |
21 | <div id="torrent-info-upload" class="col-md-4 col-sm-4 col-xs-4">Upload: {{ uploadSpeed | bytes }}/s</div> | 26 | <div id="torrent-info-upload" class="col-md-4 col-sm-4 col-xs-4">Upload: {{ uploadSpeed | bytes }}/s</div> |
22 | <div id="torrent-info-peers" class="col-md-4 col-sm-4 col-xs-4">Number of peers: {{ numPeers }}</div> | 27 | <div id="torrent-info-peers" class="col-md-4 col-sm-4 col-xs-4">Number of peers: {{ numPeers }}</div> |
23 | <div> | 28 | </div> |
29 | |||
30 | <div *ngIf="video !== null" id="video-info"> | ||
31 | <div class="row" id="video-name-actions"> | ||
32 | <div class="col-md-8"> | ||
33 | <div class="row"> | ||
34 | <div id="video-name" class="col-md-12"> | ||
35 | {{ video.name }} | ||
36 | </div> | ||
37 | </div> | ||
38 | |||
39 | <div class="row"> | ||
40 | <div class="col-md-12" id="video-by-date"> | ||
41 | <span id="video-by"> | ||
42 | from | ||
43 | <a [routerLink]="['/videos/list', { field: 'author', search: video.author }]" class="video-miniature-author"> | ||
44 | {{ video.by }} | ||
45 | </a> | ||
46 | </span> | ||
47 | <span id="video-date">on {{ video.createdDate | date:'short' }}</span> | ||
48 | </div> | ||
49 | </div> | ||
50 | </div> | ||
51 | |||
52 | <div id="video-actions" class="col-md-4 text-right"> | ||
53 | <button title="Get magnet URI" id="magnet-uri" class="btn btn-default"> | ||
54 | <span class="glyphicon glyphicon-magnet"></span> Magnet | ||
55 | </button> | ||
56 | </div> | ||
57 | </div> | ||
58 | |||
59 | <div id="video-tags" class="row"> | ||
60 | <div class="col-md-12"> | ||
61 | <a *ngFor="let tag of video.tags" [routerLink]="['/videos/list', { field: 'tags', search: tag }]" class="label label-primary"> | ||
62 | {{ tag }} | ||
63 | </a> | ||
64 | </div> | ||
65 | </div> | ||
66 | |||
67 | <div id="video-description" class="row"> | ||
68 | <div class="col-md-12"> | ||
69 | <div id="description-label">Description</div> | ||
70 | {{ video.description }} | ||
71 | </div> | ||
72 | </div> | ||
73 | </div> | ||
74 | |||