|
|
|
|
@ -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 |
|
|
|
|
&& ( |
|
|
|
|
|