Forum Discussion
I guess that for my last question, I should have read the original post properly, as it clearly states that after Audio control is set to "stop", the onKeyEvent() handling of the *-key is restored.
I have tried the same on my Video node, and similarly see that onKeyEvent() handling resumes once the video is properly stopped. (Apparently pausing, hiding, or even disconnecting the Video node from its parent was not sufficient.)
So it seems that Audio/Video on Roku has special handling of the *-key, in that while playing these components will handle it irrespective of the ordinary focus chain. That could be considered both good and bad. Good because all Roku users have access to the same audio/subtitle/accessibility UI across all channels, even as some large brands would have liked to put their own touch on the accessibility menus.
It would be nice to get official confirmation from Roku that this is how it is designed to be. That channels cannot have custom handling of the *-key while audio or video is playing.
devnullpointer JesUltra I'm guessing you guys are using the new Express 4K model. I am facing the exact same issue when playing back video content as per https://community.roku.com/t5/Roku-Developer-Program/Options-key-override-not-working-on-Express-4K-model/td-p/757335/jump-to/first-unread-message
As my exact same code works fine on other Roku models such as Ultra and Streaming Stick +, please try to test using a non-Express 4K model to see if the same thing happens with you.
My suspicion is that there's some Roku firmware bug only impacting the new Express 4K model where the video player thinks it's always on full screen even when it's not and overriding any user binding of the * options key.
FYI, overriding the * options key binding will only work if the video player is not full screen so you have to make sure to lower the player size using width & height attributes and in order to return to full screen again, set width=0 and height=0.
- JesUltra4 years agoStreaming Star
Before I changed my code to apply control="stop", I saw the problem of the built-in audio/accessibility menu sliding in on any press of *, after having played a video on a Roku Ultra 4670X running Roku OS 10.5.0.4208.
I am satisfied that the built-in menu appears while my video is actively playing, and that is the behavior I see now. I do not think the original poster is satisfied with that same behavior, though I suspect that it is "by design", since all the major channels bear with it.
- devnullpointer4 years agoStreaming Star
My issue is more towards the Audio tag. When playing video the *-key works like I expect it to. When the Video height/width is set to fullscreen I expect the tv settings to show, when exiting fullscreen to a mini player style height/width I regain access to the *-key.
When playing audio streams, I was hoping for the same functionality as a "mini video" gives me. But for now I need to "stop" the audio stream to regain control of the *-key
- pwrsurge4 years agoBinge Watcher
devnullpointer wrote:When playing video the *-key works like I expect it to. When the Video height/width is set to fullscreen I expect the tv settings to show, when exiting fullscreen to a mini player style height/width I regain access to the *-key.
This is the current behaviour when playing videos except for Express 4K model 3940 series users which does not allow access to the * key during playback, even when using mini player. It appears that this will have to be fixed in a future Roku firmware update.
Interestingly enough, the video component has an undocumented allowOptionsKeyOverride boolean parameter. However, even when setting it to true, options key override still does not work on the Express 4K during non-fullscreen video playback.
devnullpointer wrote:When playing audio streams, I was hoping for the same functionality as a "mini video" gives me. But for now I need to "stop" the audio stream to regain control of the *-key
Even though you are not playing a video, did you try putting values for width and height? Also, try setting allowOptionsKeyOverride to true to see if it makes a difference.