mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
stream deep links fixed
This commit is contained in:
parent
65fc13ed8b
commit
df0464aad2
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ const withVideo = ({ video, metaTransportUrl, metaItem, streams = {} }) => {
|
|||
|
||||
const withStream = ({ stream, streamTransportUrl, metaTransportUrl, type, id, videoId }) => {
|
||||
return {
|
||||
player: typeof metaTransportUrl === 'string' && typeof type === 'string' && typeof id === 'string' && videoId === 'string' ?
|
||||
player: typeof metaTransportUrl === 'string' && typeof type === 'string' && typeof id === 'string' && typeof videoId === 'string' ?
|
||||
`#/player/${encodeURIComponent(serializeStream(stream))}/${encodeURIComponent(streamTransportUrl)}/${encodeURIComponent(metaTransportUrl)}/${encodeURIComponent(type)}/${encodeURIComponent(id)}/${encodeURIComponent(videoId)}`
|
||||
:
|
||||
`#/player/${encodeURIComponent(serializeStream(stream))}`
|
||||
|
|
|
|||
Loading…
Reference in a new issue