From ebdd70c42b3d4a1dfb3f77fd1114e1cac53c8181 Mon Sep 17 00:00:00 2001 From: juancarmore Date: Wed, 18 Jun 2025 12:10:50 +0200 Subject: [PATCH] frontend: fix retrieval of recording URL by including secret in the request and update video player attributes --- .../lib/pages/view-recording/view-recording.component.html | 6 ++---- .../lib/pages/view-recording/view-recording.component.ts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/projects/shared-meet-components/src/lib/pages/view-recording/view-recording.component.html b/frontend/projects/shared-meet-components/src/lib/pages/view-recording/view-recording.component.html index 3aedbfc..74e3ed1 100644 --- a/frontend/projects/shared-meet-components/src/lib/pages/view-recording/view-recording.component.html +++ b/frontend/projects/shared-meet-components/src/lib/pages/view-recording/view-recording.component.html @@ -6,13 +6,11 @@ + > } @else {
diff --git a/frontend/projects/shared-meet-components/src/lib/pages/view-recording/view-recording.component.ts b/frontend/projects/shared-meet-components/src/lib/pages/view-recording/view-recording.component.ts index 01f0ebd..38ec08d 100644 --- a/frontend/projects/shared-meet-components/src/lib/pages/view-recording/view-recording.component.ts +++ b/frontend/projects/shared-meet-components/src/lib/pages/view-recording/view-recording.component.ts @@ -39,7 +39,7 @@ export class ViewRecordingComponent implements OnInit { this.recording = await this.httpService.getRecording(recordingId!, secret!); if (this.recording.status === MeetRecordingStatus.COMPLETE) { - this.recordingUrl = this.httpService.getRecordingMediaUrl(this.recording!.recordingId); + this.recordingUrl = this.httpService.getRecordingMediaUrl(recordingId!, secret!); } } catch (error) { console.error('Error fetching recording:', error);