Change streaming direction with tv control

#1

Hi, I an making an app for an android tv box, who recive many streaming directions and I want to change de url with the TV control of the Android Box. The problem is when starts video the HTML only receive information from the back button to close the video; I need it responds to the other buttons without closing the video.

Thank you so much if you know how to do that.