We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9038dfd commit 93aa63cCopy full SHA for 93aa63c
dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx
@@ -194,7 +194,7 @@ export const SelfHostedVideoPlayer = forwardRef(
194
videoStyles(width, height),
195
showSubtitles && subtitleStyles(subtitleSize),
196
]}
197
- crossOrigin="anonymous"
+ crossOrigin={showSubtitles ? 'anonymous' : undefined}
198
ref={ref}
199
tabIndex={0}
200
data-testid="self-hosted-video-player"
0 commit comments