initial player state adapted with the core

This commit is contained in:
nklhrstv 2020-01-03 16:24:39 +02:00
parent 74a759802b
commit 119a0a653c

View file

@ -2,7 +2,13 @@ const React = require('react');
const { useModelState } = require('stremio/common');
const initPlayerState = () => ({
selected: null,
selected: {
transport_url: null,
type_name: null,
id: null,
video_id: null,
stream: null,
},
meta_resource: null,
subtitles_resources: [],
next_video: null