<ng-template ngbNavContent>
<div class="row live-settings">
<div class="col-md-12">
+ <div class="alert alert-info">
+ <my-live-documentation-link></my-live-documentation-link>
+ </div>
<div class="form-group">
<label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label>
.logged-in-username {
font-size: 13px;
color: #C6C6C6;
+ margin-top: 3px;
}
}
}
--- /dev/null
+<div i18n>
+ See <a href="https://docs.joinpeertube.org/#/use-create-upload-video?id=publish-a-live-in-peertube-gt-v3" target="_blank" rel="noopener noreferrer">the documentation</a>
+ to learn how to use the PeerTube live streaming feature.
+</div>
--- /dev/null
+import { Component } from '@angular/core'
+
+@Component({
+ selector: 'my-live-documentation-link',
+ templateUrl: './live-documentation-link.component.html',
+ styleUrls: [ ]
+})
+export class LiveDocumentationLinkComponent {
+
+}
<div class="badge badge-info" *ngIf="live.saveReplay" i18n>Replay will be saved</div>
</div>
+ <div class="alert alert-info">
+ <my-live-documentation-link></my-live-documentation-link>
+ </div>
+
<div class="form-group">
<label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label>
<my-input-toggle-hidden id="liveVideoRTMPUrl" [value]="live.rtmpUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden>
import { SharedFormModule } from '../shared-forms'
import { SharedGlobalIconModule } from '../shared-icons'
import { SharedMainModule } from '../shared-main/shared-main.module'
+import { LiveDocumentationLinkComponent } from './live-documentation-link.component'
import { LiveStreamInformationComponent } from './live-stream-information.component'
import { LiveVideoService } from './live-video.service'
],
declarations: [
- LiveStreamInformationComponent
+ LiveStreamInformationComponent,
+ LiveDocumentationLinkComponent
],
exports: [
- LiveStreamInformationComponent
+ LiveStreamInformationComponent,
+ LiveDocumentationLinkComponent
],
providers: [