mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-31 03:28:49 +00:00
initial player state adapted with the core
This commit is contained in:
parent
74a759802b
commit
119a0a653c
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue