1 <div *
ngIf=
"error" class=
"row">
2 <div class=
"alert alert-danger">
3 The video load seems to be abnormally long.
5 <li>Maybe the server {{ video.podHost }} is down :(
</li>
7 If not, you can report an issue on
8 <a href=
"https://github.com/Chocobozzz/PeerTube/issues" title=
"Report an issue">
9 https://github.com/Chocobozzz/PeerTube/issues
17 <div class=
"col-md-12">
18 <!-- We need the video container for videojs so we just hide it -->
19 <div [hidden]=
"videoNotFound" class=
"embed-responsive embed-responsive-19by9">
20 <video id=
"video-container" class=
"video-js vjs-default-skin vjs-big-play-centered"></video>
23 <div *
ngIf=
"videoNotFound" id=
"video-not-found">Video not found :'(
</div>
27 <div id=
"torrent-info" class=
"row">
28 <div id=
"torrent-info-download" class=
"col-md-4 col-sm-4 col-xs-4">Download: {{ downloadSpeed | bytes }}/s
</div>
29 <div id=
"torrent-info-upload" class=
"col-md-4 col-sm-4 col-xs-4">Upload: {{ uploadSpeed | bytes }}/s
</div>
30 <div id=
"torrent-info-peers" class=
"col-md-4 col-sm-4 col-xs-4">Number of peers: {{ numPeers }}
</div>
33 <div *
ngIf=
"video !== null" id=
"video-info">
34 <div class=
"row" id=
"video-name-actions">
35 <div class=
"col-md-8">
37 <div id=
"video-name" class=
"col-md-12">
43 <div class=
"col-md-12" id=
"video-by-date">
46 <a [routerLink]=
"['/videos/list', { field: 'author', search: video.author }]" class=
"video-miniature-author">
50 <span id=
"video-date">on {{ video.createdAt | date:'short' }}
</span>
55 <div id=
"video-actions" class=
"col-md-4 text-right">
56 <button id=
"share" class=
"btn btn-default" (click)=
"showShareModal()">
57 <span class=
"glyphicon glyphicon-share"></span> Share
60 <button title=
"Get magnet URI" id=
"magnet-uri" class=
"btn btn-default" (click)=
"showMagnetUriModal()">
61 <span class=
"glyphicon glyphicon-magnet"></span> Magnet
64 <div *
ngIf=
"isUserLoggedIn()" class=
"btn-group" dropdown
>
65 <button id=
"single-button" type=
"button" id=
"more" class=
"btn btn-default" dropdownToggle
>
66 <span class=
"glyphicon glyphicon-option-horizontal"></span> More
68 <ul dropdownMenu
id=
"more-menu" role=
"menu" aria-labelledby=
"single-button">
70 <a class=
"dropdown-item" href=
"#" (click)=
"showReportModal($event)">
71 <span class=
"glyphicon glyphicon-alert"></span> Report
79 <div id=
"video-tags" class=
"row">
80 <div class=
"col-md-12">
81 <a *
ngFor=
"let tag of video.tags" [routerLink]=
"['/videos/list', { field: 'tags', search: tag }]" class=
"label label-primary">
87 <div id=
"video-description" class=
"row">
88 <div class=
"col-md-12">
89 <div id=
"description-label">Description
</div>
90 {{ video.description }}
95 <template [ngIf]=
"video !== null">
96 <my-video-share #videoShareModal [video]=
"video"></my-video-share>
97 <my-video-magnet #videoMagnetModal [video]=
"video"></my-video-magnet>
98 <my-video-report #videoReportModal [video]=
"video"></my-video-report>