Add link to the documentation for live streaming
This commit is contained in:
parent
402145b863
commit
cd5dc7188b
6 changed files with 27 additions and 2 deletions
|
@ -210,6 +210,9 @@
|
|||
<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>
|
||||
|
|
|
@ -192,6 +192,7 @@ menu {
|
|||
.logged-in-username {
|
||||
font-size: 13px;
|
||||
color: #C6C6C6;
|
||||
margin-top: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<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>
|
|
@ -0,0 +1,10 @@
|
|||
import { Component } from '@angular/core'
|
||||
|
||||
@Component({
|
||||
selector: 'my-live-documentation-link',
|
||||
templateUrl: './live-documentation-link.component.html',
|
||||
styleUrls: [ ]
|
||||
})
|
||||
export class LiveDocumentationLinkComponent {
|
||||
|
||||
}
|
|
@ -11,6 +11,10 @@
|
|||
<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>
|
||||
|
|
|
@ -3,6 +3,7 @@ import { NgModule } from '@angular/core'
|
|||
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'
|
||||
|
||||
|
@ -14,11 +15,13 @@ import { LiveVideoService } from './live-video.service'
|
|||
],
|
||||
|
||||
declarations: [
|
||||
LiveStreamInformationComponent
|
||||
LiveStreamInformationComponent,
|
||||
LiveDocumentationLinkComponent
|
||||
],
|
||||
|
||||
exports: [
|
||||
LiveStreamInformationComponent
|
||||
LiveStreamInformationComponent,
|
||||
LiveDocumentationLinkComponent
|
||||
],
|
||||
|
||||
providers: [
|
||||
|
|
Loading…
Reference in a new issue