Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I open an URL from a web hosted app into the television's browser? #32

Open
KatkayApps opened this issue Apr 25, 2020 · 3 comments

Comments

@KatkayApps
Copy link

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:

  1. a way to launch a specific URL from the app and make that URL open on the television's browser or
  2. 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
Copy link

jmealo commented Jul 13, 2020

@KatkayApps: Did you find a way to do this yet? I'll circle back and tag you if I do.

@jmealo
Copy link

jmealo commented Jul 13, 2020

@KatkayApps: This works for me:

lgtv.request('ssap://system.launcher/launch', {
   id: 'com.webos.app.browser', params: { target: url }
});

@KatkayApps
Copy link
Author

Brilliant! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants