diff --git a/src/features/StreamPlayer/index.tsx b/src/features/StreamPlayer/index.tsx index b5d1d2bc..72f67257 100644 --- a/src/features/StreamPlayer/index.tsx +++ b/src/features/StreamPlayer/index.tsx @@ -42,6 +42,8 @@ import { const tournamentsWithWatermark = { 316: 'Tunisia', 1136: 'Brasil', + 1448: 'India', + 5950: 'India', } /** * HLS плеер, применяется на лайв и завершенных матчах @@ -163,9 +165,9 @@ export const StreamPlayer = (props: Props) => { {user - && Boolean( + && (Boolean( tournamentsWithWatermark[profile?.tournament.id as keyof typeof tournamentsWithWatermark], - ) + ) || profile?.watermark) && playing && isLive && ( diff --git a/src/requests/getMatchInfo.tsx b/src/requests/getMatchInfo.tsx index 14504d6d..f6482695 100644 --- a/src/requests/getMatchInfo.tsx +++ b/src/requests/getMatchInfo.tsx @@ -68,6 +68,7 @@ export type MatchInfo = { team2: Team, tournament: MatchTournament, video_bounds?: VideoBounds, + watermark?: boolean, youtube_link?: string, } | null