frontend: fix retrieval of recording URL by including secret in the request and update video player attributes
This commit is contained in:
parent
0c2b76d754
commit
ebdd70c42b
@ -6,13 +6,11 @@
|
||||
<video
|
||||
autoplay
|
||||
controls
|
||||
muted
|
||||
playsinline
|
||||
class="video-player"
|
||||
[src]="recordingUrl"
|
||||
(error)="videoError = true"
|
||||
>
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
></video>
|
||||
</div>
|
||||
} @else {
|
||||
<div class="video-error">
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user