1 <ng-template #modal
let-close=
"close" let-dismiss=
"dismiss">
2 <div class=
"modal-header">
3 <h4 i18n
class=
"modal-title">Live information
</h4>
5 <my-global-icon iconName=
"cross" aria-label=
"Close" role=
"button" (click)=
"dismiss()"></my-global-icon>
8 <div class=
"modal-body" *
ngIf=
"live">
10 <div class=
"badge badge-info" *
ngIf=
"live.permanentLive" i18n
>Permanent/Recurring live
</div>
11 <div class=
"badge badge-info" *
ngIf=
"live.saveReplay" i18n
>Replay will be saved
</div>
14 <div class=
"alert alert-info">
15 <my-live-documentation-link></my-live-documentation-link>
18 <div *
ngIf=
"live.rtmpUrl" 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>
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>
28 <div class=
"form-group">
29 <label for=
"liveVideoStreamKey" i18n
>Live stream key
</label>
30 <my-input-toggle-hidden inputId=
"liveVideoStreamKey" [value]=
"live.streamKey" [withCopy]=
"true" [readonly]=
"true"></my-input-toggle-hidden>
32 <div class=
"form-group-description" i18n
>⚠️ Never share your stream key with anyone.
</div>
36 <div class=
"modal-footer">
37 <div class=
"form-group inputs">
38 <input type=
"button" role=
"button" i18n-value
value=
"Close" class=
"peertube-button grey-button" (click)=
"dismiss()" />
41 i18n-label
label=
"Update live settings"
42 [routerLink]=
"[ '/videos', 'update', video.uuid ]" (click)=
"dismiss()"