<div class="form-group">
<label i18n for="licence">Licence</label>
+
+ <my-help>
+ <ng-template ptTemplate="customHtml">
+ <ng-container i18n>
+ <a href="https://chooser-beta.creativecommons.org/" target="_blank" rel="noopener noreferrer">Choose</a> the appropriate license for your work.
+ </ng-container>
+ </ng-template>
+ </my-help>
+
<my-select-options
labelForId="licence" [items]="videoLicences" formControlName="licence" [clearable]="true"
></my-select-options>
</ng-template>
</ng-container>
- <ng-container ngbNavItem>
+ <ng-container ngbNavItem *ngIf="!liveVideo">
<a ngbNavLink i18n>Captions</a>
<ng-template ngbNavContent>
<div class="form-group">
<label for="liveVideoStreamKey" i18n>Live stream key</label>
<my-input-readonly-copy id="liveVideoStreamKey" [value]="liveVideo.streamKey"></my-input-readonly-copy>
+
+ <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div>
+ </div>
+
+ <div class="form-group" *ngIf="isSaveReplayEnabled()">
+ <my-peertube-checkbox inputName="liveVideoSaveReplay" formControlName="saveReplay">
+ <ng-template ptTemplate="label">
+ <ng-container i18n>Automatically publish a replay when your live ends</ng-container>
+ </ng-template>
+
+ <ng-container ngProjectAs="description">
+ <span i18n>⚠️ If you enable this option, your live will be terminated if you exceed your video quota</span>
+ </ng-container>
+ </my-peertube-checkbox>
</div>
</div>
</div>