]>
Commit | Line | Data |
---|---|---|
d846d99c C |
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 | ||
312644ce C |
8 | <div class="modal-body" *ngIf="live"> |
9 | <div> | |
1e2fe802 | 10 | <div class="badge badge-info" *ngIf="live.permanentLive" i18n>Permanent/Recurring live</div> |
312644ce C |
11 | <div class="badge badge-info" *ngIf="live.saveReplay" i18n>Replay will be saved</div> |
12 | </div> | |
13 | ||
cd5dc718 C |
14 | <div class="alert alert-info"> |
15 | <my-live-documentation-link></my-live-documentation-link> | |
16 | </div> | |
17 | ||
df1db951 | 18 | <div *ngIf="live.rtmpUrl" class="form-group"> |
d846d99c | 19 | <label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label> |
1916c966 | 20 | <my-input-toggle-hidden inputId="liveVideoRTMPUrl" [value]="live.rtmpUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden> |
d846d99c C |
21 | </div> |
22 | ||
df1db951 C |
23 | <div *ngIf="live.rtmpsUrl" class="form-group"> |
24 | <label for="liveVideoRTMPSUrl" i18n>Live RTMPS Url</label> | |
25 | <my-input-toggle-hidden inputId="liveVideoRTMPSUrl" [value]="live.rtmpsUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden> | |
26 | </div> | |
27 | ||
d846d99c C |
28 | <div class="form-group"> |
29 | <label for="liveVideoStreamKey" i18n>Live stream key</label> | |
1916c966 | 30 | <my-input-toggle-hidden inputId="liveVideoStreamKey" [value]="live.streamKey" [withCopy]="true" [readonly]="true"></my-input-toggle-hidden> |
c29039e7 C |
31 | |
32 | <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div> | |
d846d99c C |
33 | </div> |
34 | </div> | |
35 | ||
36 | <div class="modal-footer"> | |
37 | <div class="form-group inputs"> | |
266947e5 | 38 | <input type="button" role="button" i18n-value value="Close" class="peertube-button grey-button" (click)="dismiss()" /> |
d846d99c C |
39 | |
40 | <my-edit-button | |
41 | i18n-label label="Update live settings" | |
42 | [routerLink]="[ '/videos', 'update', video.uuid ]" (click)="dismiss()" | |
43 | ></my-edit-button> | |
44 | </div> | |
45 | </div> | |
46 | </ng-template> |