fix api usage in selectVideoImplementation

This commit is contained in:
NikolaBorislavovHristov 2019-04-07 01:39:04 +03:00
parent 6332a9a24c
commit a660c1343b

View file

@ -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;