Roku在视频延期屏幕中禁用oftercaptionsElectionDialog



在我的视频屏幕中,第一次单击 *它打开菜单矩形,如果再次单击 *它关闭矩形,但是问题是当我们单击 *第二次时,打开封闭式选项仪。第二次单击 *时,我如何禁用该对话框并隐藏菜单矩形?

菜单矩形是您在视频顶部添加的组件吗?从技术上讲,您不应使用 *按钮来提出这样的叠加。https://sdkdocs.roku.com/display/sdkdoc/remote control buttons

During full-screen video playback:
Only video is displayed:
The Star button reveals a Roku options menu offering users standard options, like Closed Captioning, and audio tracks.

如果您打算通过Roku获得频道认证,则可能需要更改此行为。您可以使用(例如)" UP"按首先显示覆盖层,然后可以从该覆盖层内使用Star按钮(如果需要)。

Channel UI/HUDs displayed over video:
The Star button is passed to the Channel to handle and decide what to do.
For example, Channel is displaying a mini-EPG over a video, so the Star button press would be handled by the Channel.

也就是说,在不知道的情况下,我的猜测是您的代码正在处理 *按键以关闭覆盖层,但不会返回true,因此按键在上游重新授权。

或者,也许我完全误解了您的情况。如果是这样,您可以发布您添加或更改的代码以提出矩形吗?

相关内容

  • 没有找到相关文章

最新更新