Skip to content

Commit 33c30e4

Browse files
committed
fix showSubtitles flag
1 parent f8109d0 commit 33c30e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotcom-rendering/src/components/LoopVideoPlayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export const LoopVideoPlayer = forwardRef(
236236
type={source.mimeType}
237237
/>
238238
))}
239-
{subtitleSource !== undefined && (
239+
{showSubtitles && (
240240
<track
241241
// Don't use default - it forces native rendering on iOS
242242
default={false}

0 commit comments

Comments
 (0)