How do I open an URL from a web hosted app into the television's browser?
KatkayApps opened this issue · 3 comments
KatkayApps commented
I am developing a web hosted app. I need to open an internet page inside that app in a way that I see the cursor and I can move it around the page and click on buttons, using the regular remote control.
I don't see a way to enable the cursor and make it move as I click on the remote arrows, as it does in the internet browser that comes with the tv.
So, I need one of two things:
- a way to launch a specific URL from the app and make that URL open on the television's browser or
- enable the cursor inside the app in a way that it moves as I press the remote arrows. The app is running inside chromium engine, right? So, the cursor must be disabled. Any way to enable it?
thanks
jmealo commented
@KatkayApps: Did you find a way to do this yet? I'll circle back and tag you if I do.
jmealo commented
@KatkayApps: This works for me:
lgtv.request('ssap://system.launcher/launch', {
id: 'com.webos.app.browser', params: { target: url }
});KatkayApps commented
Brilliant! Thanks.