Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(calls): call video recording view (#4869)

Will Hutchinson44bef9ef0510
diff --git a/apps/web/src/features/block-call/component/CallRecording/CallRecordingVideo.test.tsx b/apps/web/src/features/block-call/component/CallRecording/CallRecordingVideo.test.tsx
index bb07617d33..955d1cd3c4 100644
--- a/apps/web/src/features/block-call/component/CallRecording/CallRecordingVideo.test.tsx
+++ b/apps/web/src/features/block-call/component/CallRecording/CallRecordingVideo.test.tsx
@@ -93,7 +93,7 @@ afterAll(() => {
});
describe('CallRecordingVideo', () => {
- it('shows an unsupported-format fallback while preserving native video attributes', async () => {
+ it('shows an unsupported-format fallback without requiring CORS for playback', async () => {
mockPosterFetch();
const { container } = render(() => (
@@ -122,7 +122,7 @@ describe('CallRecordingVideo', () => {
expect(fallbackLink.hasAttribute('download')).toBe(true);
expect(video.hasAttribute('controls')).toBe(true);
- expect(video.getAttribute('crossorigin')).toBe('anonymous');
+ expect(video.hasAttribute('crossorigin')).toBe(false);
expect(video.getAttribute('poster')).toBe(posterBlobUrl);
expect(video.getAttribute('src')).toBe(recordingUrl);
diff --git a/apps/web/src/features/block-call/component/CallRecording/CallRecordingVideo.tsx b/apps/web/src/features/block-call/component/CallRecording/CallRecordingVideo.tsx
index 037d7f2cc2..c72cd4368e 100644
--- a/apps/web/src/features/block-call/component/CallRecording/CallRecordingVideo.tsx
+++ b/apps/web/src/features/block-call/component/CallRecording/CallRecordingVideo.tsx
@@ -103,7 +103,6 @@ export function CallRecordingVideo(props: {
'opacity-100': hasVisibleVideo(),
}}
controls
- crossorigin="anonymous"
poster={posterBlobUrl()}
src={props.url}
onError={handlePlaybackError}