mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +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,
|
||||
subtitlesPath: typeof urlParams.type === 'string' && typeof urlParams.videoId === 'string' ?
|
||||
subtitlesPath: videoParams !== null && typeof urlParams.type === 'string' && typeof urlParams.videoId === 'string' ?
|
||||
{
|
||||
resource: 'subtitles',
|
||||
type: urlParams.type,
|
||||
|
|
|
|||
Loading…
Reference in a new issue