From a660c1343b2fc9840eaec558174cbd26f1784566 Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Sun, 7 Apr 2019 01:39:04 +0300 Subject: [PATCH] fix api usage in selectVideoImplementation --- src/routes/Player/Video/Video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Player/Video/Video.js b/src/routes/Player/Video/Video.js index 0f35b49ba..f99932a31 100644 --- a/src/routes/Player/Video/Video.js +++ b/src/routes/Player/Video/Video.js @@ -25,7 +25,7 @@ class Video extends React.Component { selectVideoImplementation = (args) => { if (args.ipc) { return MPVVideo; - } else if (args.ytId) { + } else if (args.stream.ytId) { return YouTubeVideo; } else { return HTMLVideo;