fix(#270): add watermark for tunisia league

pull/55/head
Andrei Dekterev 3 years ago
parent 6ed5fea40d
commit 7cdfd41fe2
  1. 8
      src/features/StreamPlayer/index.tsx

@ -27,6 +27,12 @@ import { useAuthStore } from '../AuthStore'
import { Controls } from './components/Controls'
import RewindMobile from './components/RewindMobile'
const tournamentsWithWatermark = {
131: 'Spain',
316: 'Tunisia',
1136: 'Brasil',
2032: 'Spain',
}
/**
* HLS плеер, применяется на лайв и завершенных матчах
*/
@ -108,7 +114,7 @@ export const StreamPlayer = (props: Props) => {
<Loader color='#515151' />
</LoaderWrapper>
{user
&& [1136, 131, 2032].includes(Number(profile?.tournament.id))
&& Object.keys(tournamentsWithWatermark)?.includes(String(profile?.tournament.id))
&& playing
&& isLive
&& (

Loading…
Cancel
Save