I'm trying to create a video player with controls for Android TV with Flutter
The basic video_player is working: https://gist.github.com/andraskende/195e746716e5e4e978356abb09e66a37
Would like to enhance the controls:
- video plays: show controls for first 5 seconds, then hide controls..
- keypress on D-pad controls would appear (play/pause, forward rewind)
- video paused: show controls, if back pressed once hide controls
I tried to add RawKeyboardListener to listen on a keypress on remote but then the controls are not selectable as the RawKeyboardListener takes over..
I guess when the controls are hidden I need RawKeyboardListener to bring up the controls and disable the RawKeyboardListener so the control buttons can be selected.
Any help is greatly appreciated.
Thanks, Andras