fix: use old player for audio/video in electron
This commit is contained in:
parent
efeb5b6672
commit
b536700719
1 changed files with 12 additions and 1 deletions
|
@ -39,7 +39,18 @@ type State = {
|
||||||
|
|
||||||
class MediaPlayer extends React.PureComponent<Props, State> {
|
class MediaPlayer extends React.PureComponent<Props, State> {
|
||||||
static SANDBOX_TYPES = ['application/x-lbry', 'application/x-ext-lbry'];
|
static SANDBOX_TYPES = ['application/x-lbry', 'application/x-ext-lbry'];
|
||||||
static FILE_MEDIA_TYPES = ['text', 'script', 'e-book', 'comic-book', 'document', '3D-file', 'video', 'audio'];
|
static FILE_MEDIA_TYPES = [
|
||||||
|
'text',
|
||||||
|
'script',
|
||||||
|
'e-book',
|
||||||
|
'comic-book',
|
||||||
|
'document',
|
||||||
|
'3D-file',
|
||||||
|
// @if TARGET='web'
|
||||||
|
'video',
|
||||||
|
'audio',
|
||||||
|
// @endif
|
||||||
|
];
|
||||||
static SANDBOX_SET_BASE_URL = 'http://localhost:5278/set/';
|
static SANDBOX_SET_BASE_URL = 'http://localhost:5278/set/';
|
||||||
static SANDBOX_CONTENT_BASE_URL = 'http://localhost:5278';
|
static SANDBOX_CONTENT_BASE_URL = 'http://localhost:5278';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue