mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-11 08:10:40 +00:00
send subtitlesPath with video params only
This commit is contained in:
parent
757ac79bcd
commit
bb84b96217
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ const usePlayer = (urlParams, videoParams) => {
|
||||||
}
|
}
|
||||||
:
|
:
|
||||||
null,
|
null,
|
||||||
subtitlesPath: typeof urlParams.type === 'string' && typeof urlParams.videoId === 'string' ?
|
subtitlesPath: videoParams !== null && typeof urlParams.type === 'string' && typeof urlParams.videoId === 'string' ?
|
||||||
{
|
{
|
||||||
resource: 'subtitles',
|
resource: 'subtitles',
|
||||||
type: urlParams.type,
|
type: urlParams.type,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue