From df0464aad2c6b929910b03dc3b9bd593a9d93979 Mon Sep 17 00:00:00 2001 From: nklhrstv Date: Mon, 6 Apr 2020 17:45:09 +0300 Subject: [PATCH] stream deep links fixed --- src/common/deepLinking.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/deepLinking.js b/src/common/deepLinking.js index d577c8470..6037cc0f2 100644 --- a/src/common/deepLinking.js +++ b/src/common/deepLinking.js @@ -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))}`