-
Notifications
You must be signed in to change notification settings - Fork 47
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
Android TV - Enter / Back Button issue #120
Comments
Web events seems to override some event of the view itself. |
@fegauthier When you are on TV you do not need to see the controls as you are using the TV remote controller. So there is only five keys which are taken by the listener:
"Web events seems to override some event of the view itself." i do not understand what you mean |
I'm testing on a Fire Stick 4K stick at the moment. I put a console.log on keypress in my Web App. If I pressed the right button. Nothing happen in the ExoPlayer, But I see my console.log in the web console. |
@fegauthier did you make any progress about it? I'm confused about how to handle the button pressed with this video player... |
I did. Event seems to be trigger on the webview instead of the ExoPlayer. So I added an event listener in the web view and I call capacitor method to trigger some actions on the ExoPlayer. |
OK, thanks, it helps. And, by any chance, did you find how to exit/close the player when using the Back Button? |
If you look at the PR I did #121 I added new functions. One of them is exitPlayer. So I call this function when I press backbutton. |
Hi guys!
Is it the normal behaviour that when I press OK Button, the controls doesnt appear? Same thing when I press the back button, it doesn't do anything. When controls are show, i'm able to control it, but when it disappear, i'm not able to respawn it.
Thanks
EDIT:
Play/Pause button works and spawn the controls. Just wanted to know why the OK button doesnt
The text was updated successfully, but these errors were encountered: