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,
isFullscreen,
isLastChapterPlaying,
isLive,
loadedProgress,
numberOfChapters,
onDuration,

@ -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) => {
<LoaderWrapper buffering={buffering}>
<Loader color='#515151' />
</LoaderWrapper>
{(profile?.tournament.id === 1136)
{user
&& [1136, 131, 2032].includes(Number(profile?.tournament.id))
&& playing
&& isLive
&& (
<WaterMark value={user?.profile?.sub} />
)}

Loading…
Cancel
Save