diff options
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.ts | 5 |
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, |