fix(#260): add watermark for spain

pull/45/head
Andrei Dekterev 3 years ago
parent af92f35e13
commit 3474509c25
  1. 1
      src/features/StreamPlayer/hooks/index.tsx
  2. 5
      src/features/StreamPlayer/index.tsx

@ -481,6 +481,7 @@ export const useVideoPlayer = ({
isFirstChapterPlaying, isFirstChapterPlaying,
isFullscreen, isFullscreen,
isLastChapterPlaying, isLastChapterPlaying,
isLive,
loadedProgress, loadedProgress,
numberOfChapters, numberOfChapters,
onDuration, onDuration,

@ -50,6 +50,7 @@ export const StreamPlayer = (props: Props) => {
duration, duration,
hideCenterControls, hideCenterControls,
isFullscreen, isFullscreen,
isLive,
loadedProgress, loadedProgress,
mainControlsVisible, mainControlsVisible,
muted, muted,
@ -106,8 +107,10 @@ export const StreamPlayer = (props: Props) => {
<LoaderWrapper buffering={buffering}> <LoaderWrapper buffering={buffering}>
<Loader color='#515151' /> <Loader color='#515151' />
</LoaderWrapper> </LoaderWrapper>
{(profile?.tournament.id === 1136) {user
&& [1136, 131, 2032].includes(Number(profile?.tournament.id))
&& playing && playing
&& isLive
&& ( && (
<WaterMark value={user?.profile?.sub} /> <WaterMark value={user?.profile?.sub} />
)} )}

Loading…
Cancel
Save