From 71bb033cfda9fd3b6498c206e58490e3a02551a9 Mon Sep 17 00:00:00 2001 From: Arthur de Moulins Date: Mon, 20 Nov 2023 15:12:03 +0100 Subject: [PATCH] PS-544 force img request to send Origin header to get S3 CORS --- databox/client/src/components/Media/Asset/FilePlayer.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/databox/client/src/components/Media/Asset/FilePlayer.tsx b/databox/client/src/components/Media/Asset/FilePlayer.tsx index 5d9874903..4e43f0d30 100644 --- a/databox/client/src/components/Media/Asset/FilePlayer.tsx +++ b/databox/client/src/components/Media/Asset/FilePlayer.tsx @@ -43,6 +43,7 @@ export default function FilePlayer({ maxHeight: maxDimensions.height, display: 'block', }} + crossOrigin="anonymous" src={file.url} alt={title} onLoad={onLoad}