Fix a bug where video cast from web app would not play if there's an error dialog on screen
This commit is contained in:
1 parent
ff35ad61ab
commit
8b15d1113b
2 files changed
+4
-1
No files matched your search
@@ -168,7 +168,9 @@ function OnVideoContentTaskErrorDialogResponse(event as object)
|
||||
shouldPlayNext = dialog.actualButtonSelected = 0
|
||||
|
||||
if not shouldPlayNext or not VideoQueueUtils.PlayNext(m.videoQueue, m.invidious, m.preferences)
|
||||
m.videoQueue.closePlayer = true
|
||||
if m.top.isSameNode(m.videoQueue.player)
|
||||
m.videoQueue.closePlayer = true
|
||||
end if
|
||||
end if
|
||||
|
||||
Lounge.SendOnStateChange()
|
||||
|
||||
Reference in new issue
Block a user