aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-18 11:39:45 +0200
committerChocobozzz <me@florianbigard.com>2021-08-18 11:39:45 +0200
commit2e80d256cc75b4b02c8efc3d3e4cdf57ddf401a8 (patch)
tree2f935cfe607726b39404e620e0d5d0c43e55c1f9 /client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
parent586a7478b609ed4b7518419e91f0a799c23fbaa1 (diff)
downloadPeerTube-2e80d256cc75b4b02c8efc3d3e4cdf57ddf401a8.tar.gz
PeerTube-2e80d256cc75b4b02c8efc3d3e4cdf57ddf401a8.tar.zst
PeerTube-2e80d256cc75b4b02c8efc3d3e4cdf57ddf401a8.zip
Fix live/upload redirection
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
index 1b9447e03..2065e4e8e 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
@@ -26,8 +26,11 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView
26 isInUpdateForm = false 26 isInUpdateForm = false
27 27
28 liveVideo: LiveVideo 28 liveVideo: LiveVideo
29
29 videoId: number 30 videoId: number
30 videoUUID: string 31 videoUUID: string
32 videoShortUUID: string
33
31 error: string 34 error: string
32 35
33 constructor ( 36 constructor (
@@ -79,6 +82,7 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView
79 next: res => { 82 next: res => {
80 this.videoId = res.video.id 83 this.videoId = res.video.id
81 this.videoUUID = res.video.uuid 84 this.videoUUID = res.video.uuid
85 this.videoShortUUID = res.video.shortUUID
82 this.isInUpdateForm = true 86 this.isInUpdateForm = true
83 87
84 this.firstStepDone.emit(name) 88 this.firstStepDone.emit(name)
@@ -113,6 +117,7 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView
113 video.patch(this.form.value) 117 video.patch(this.form.value)
114 video.id = this.videoId 118 video.id = this.videoId
115 video.uuid = this.videoUUID 119 video.uuid = this.videoUUID
120 video.shortUUID = this.videoShortUUID
116 121
117 const liveVideoUpdate: LiveVideoUpdate = { 122 const liveVideoUpdate: LiveVideoUpdate = {
118 saveReplay: this.form.value.saveReplay, 123 saveReplay: this.form.value.saveReplay,