]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-video-live/live-stream-information.component.html
redirect to login on 401, display error variants in 404 component
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-live / live-stream-information.component.html
1 <ng-template #modal let-close="close" let-dismiss="dismiss">
2 <div class="modal-header">
3 <h4 i18n class="modal-title">Live information</h4>
4
5 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon>
6 </div>
7
8 <div class="modal-body" *ngIf="live">
9 <div>
10 <div class="badge badge-info" *ngIf="live.permanentLive" i18n>Permanent live</div>
11 <div class="badge badge-info" *ngIf="live.saveReplay" i18n>Replay will be saved</div>
12 </div>
13
14 <div class="alert alert-info">
15 <my-live-documentation-link></my-live-documentation-link>
16 </div>
17
18 <div class="form-group">
19 <label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label>
20 <my-input-toggle-hidden inputId="liveVideoRTMPUrl" [value]="live.rtmpUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden>
21 </div>
22
23 <div class="form-group">
24 <label for="liveVideoStreamKey" i18n>Live stream key</label>
25 <my-input-toggle-hidden inputId="liveVideoStreamKey" [value]="live.streamKey" [withCopy]="true" [readonly]="true"></my-input-toggle-hidden>
26
27 <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div>
28 </div>
29 </div>
30
31 <div class="modal-footer">
32 <div class="form-group inputs">
33 <input
34 type="button" role="button" i18n-value value="Close" class="action-button action-button-cancel"
35 (click)="dismiss()"
36 >
37
38 <my-edit-button
39 i18n-label label="Update live settings"
40 [routerLink]="[ '/videos', 'update', video.uuid ]" (click)="dismiss()"
41 ></my-edit-button>
42 </div>
43 </div>
44 </ng-template>