BREAKING: refactor: support api changes from player-parsers

BREAKING: environment variables NEXT_PUBLIC_*_PARSER_URL has been renamed to NEXT_PUBLIC_PLAYER_PARSER_URL

refactor: disable player experiment toggle if env var has not been found
fix/player-parsers(sibnet): add proto to media url response
This commit is contained in:
Kentai Radiquum 2025-07-07 15:14:37 +05:00
parent bfef935fd6
commit 869c934af2
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
5 changed files with 51 additions and 162 deletions

View file

@ -46,7 +46,7 @@ export async function getSibnetURL(res, url: string) {
return
}
const video = actualVideoRes.headers.get("location");
const video = `https:${actualVideoRes.headers.get("location")}`;
const poster =
posterMatch ?
posterMatch.length > 0 ?