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:
Brahim Hadriche committed 2024-05-21 13:05:40 -04:00
1 parent ff35ad61ab
commit 8b15d1113b
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- A bug where bookmarked channels can be duplicated
- A bug where video cast from web app would not play if there's an error dialog on screen
## [0.23.5] - 2024-05-19
@@ -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()