Close dialog when casting a video (#85)
* Close dialog when casting a video * Refactor, and fix issue with keyboard dialog * Changelog
This commit is contained in:
1 parent
4433514975
commit
3223fbd8f2
7 files changed
+24
-11
No files matched your search
@@ -116,6 +116,12 @@ end function
|
||||
function OnWebServerCommand()
|
||||
if m.serverTask.command.StartsWith("play:")
|
||||
sender = m.videoContainer.sender ?? m.currentFocued
|
||||
if m.videoContainer.fullscreen
|
||||
dialog = m.top.getScene().dialog
|
||||
if dialog <> invalid
|
||||
dialog.close = true
|
||||
end if
|
||||
end if
|
||||
PlayVideo(m.serverTask.command.Mid(5), { sender: sender })
|
||||
end if
|
||||
end function
|
||||
|
||||
Reference in new issue
Block a user