Skip to content

Commit 3e64bc9

Browse files
committed
Add comment to support future development of the loop video player
1 parent e58731e commit 3e64bc9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dotcom-rendering/src/components/LoopVideoPlayer.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ type Props = {
125125
* Note that in React 19, forwardRef is no longer necessary:
126126
* https://react.dev/reference/react/forwardRef
127127
*/
128+
/**
129+
* NB: To develop the loop video player locally, use `https://r.thegulocal.com/` instead of `localhost`.
130+
* This is required because CORS restrictions prevent accessing the subtitles and video file from localhost.
131+
*/
132+
128133
export const LoopVideoPlayer = forwardRef(
129134
(
130135
{

0 commit comments

Comments
 (0)