From bce1211d1c1c64f0f57993763dbec5113ecd8648 Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Tue, 31 Oct 2023 10:21:30 -0400 Subject: [PATCH] Show pause menu when video is paused using OK button --- components/video/VideoPlayerView.brs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/video/VideoPlayerView.brs b/components/video/VideoPlayerView.brs index e586e05a..ab2bc474 100644 --- a/components/video/VideoPlayerView.brs +++ b/components/video/VideoPlayerView.brs @@ -549,6 +549,15 @@ function onKeyEvent(key as string, press as boolean) as boolean return false else if m.top.state = "playing" m.top.control = "pause" + ' Disable pause menu for intro videos + if not m.LoadMetaDataTask.isIntro + ' Show pause menu + m.top.control = "pause" + m.pauseMenu.visible = true + m.pauseMenu.setFocus(true) + return true + end if + return false end if end if