From 39e68a3254242bd410ffc20b7f74b442a07b390f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 3 May 2022 15:11:29 +0200 Subject: Add session informations in live modal --- .../video-go-live.component.ts | 4 ++-- .../live-stream-information.component.html | 13 ++++++++++++ .../live-stream-information.component.scss | 9 ++++++++ .../live-stream-information.component.ts | 24 +++++++++++++++++++++- .../shared/shared-video-live/live-video.service.ts | 8 +++++++- 5 files changed, 54 insertions(+), 4 deletions(-) (limited to 'client/src/app') 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 725120d16..d81f577b2 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 @@ -154,7 +154,7 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView getNormalLiveDescription () { if (this.isReplayAllowed()) { - return $localize`Stream only once and save a replay of your live` + return $localize`Stream only once, replay will replace your live` } return $localize`Stream only once` @@ -162,7 +162,7 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView getPermanentLiveDescription () { if (this.isReplayAllowed()) { - return $localize`Stream multiple times, replays can't be saved` + return $localize`Stream multiple times, replays will be separate videos` } return $localize`Stream multiple times using the same URL` diff --git a/client/src/app/shared/shared-video-live/live-stream-information.component.html b/client/src/app/shared/shared-video-live/live-stream-information.component.html index 35e894a55..01e305938 100644 --- a/client/src/app/shared/shared-video-live/live-stream-information.component.html +++ b/client/src/app/shared/shared-video-live/live-stream-information.component.html @@ -31,6 +31,19 @@
⚠️ Never share your stream key with anyone.
+ +
+ + +
+ Success + {{ getErrorLabel(session) }} + + Started on {{ session.startDate | date:'medium' }} + Ended on {{ session.endDate | date:'medium' }} + Go to replay +
+