Fix webos app id

This commit is contained in:
kolsys
2021-09-12 12:45:58 +03:00
parent f5da86c7b7
commit 2f19e81855

View File

@@ -15,7 +15,7 @@
webOS.service.request('luna://com.webos.applicationManager', { webOS.service.request('luna://com.webos.applicationManager', {
method: 'launch', method: 'launch',
parameters: { parameters: {
id: '', id: 'com.webos.app.videoplayer',
params: { params: {
videoList: { videoList: {
result: params.getAll('url').map(url => ({url: url})), result: params.getAll('url').map(url => ({url: url})),
@@ -33,7 +33,7 @@
}); });
} catch(e) { } catch(e) {
console.log('ERROR', e); console.log('ERROR', e);
TVXInteractionPlugin.executeAction('error:Failed to open Video Player'); TVXInteractionPlugin.executeAction('error:Failed to open Video Player ' + e.getMessage());
} }
} }