diff --git a/src/features/StreamPlayer/hooks/index.tsx b/src/features/StreamPlayer/hooks/index.tsx index 17ea629e..41b52413 100644 --- a/src/features/StreamPlayer/hooks/index.tsx +++ b/src/features/StreamPlayer/hooks/index.tsx @@ -481,6 +481,7 @@ export const useVideoPlayer = ({ isFirstChapterPlaying, isFullscreen, isLastChapterPlaying, + isLive, loadedProgress, numberOfChapters, onDuration, diff --git a/src/features/StreamPlayer/index.tsx b/src/features/StreamPlayer/index.tsx index 2e48f0f1..462bb16b 100644 --- a/src/features/StreamPlayer/index.tsx +++ b/src/features/StreamPlayer/index.tsx @@ -50,6 +50,7 @@ export const StreamPlayer = (props: Props) => { duration, hideCenterControls, isFullscreen, + isLive, loadedProgress, mainControlsVisible, muted, @@ -106,8 +107,10 @@ export const StreamPlayer = (props: Props) => { - {(profile?.tournament.id === 1136) + {user + && [1136, 131, 2032].includes(Number(profile?.tournament.id)) && playing + && isLive && ( )}