mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-08-05 08:47:02 +00:00
Refractor shared code for tizen receiver
This commit is contained in:
parent
8d238ef8b1
commit
7be0a41166
10 changed files with 43 additions and 50 deletions
|
@ -6,6 +6,7 @@ export {};
|
|||
declare global {
|
||||
interface Window {
|
||||
electronAPI: any;
|
||||
tizenOSAPI: any;
|
||||
webOSAPI: any;
|
||||
webOS: any;
|
||||
targetAPI: any;
|
||||
|
@ -32,7 +33,7 @@ if (TARGET === 'electron') {
|
|||
});
|
||||
|
||||
// @ts-ignore
|
||||
} else if (TARGET === 'webOS') {
|
||||
} else if (TARGET === 'webOS' || TARGET === 'tizenOS') {
|
||||
preloadData = {
|
||||
sendPlaybackErrorCb: () => { console.error('Player: Callback "send_playback_error" not set'); },
|
||||
sendPlaybackUpdateCb: () => { console.error('Player: Callback "send_playback_update" not set'); },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue