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
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- A bug where bookmarked channels can be duplicated
|
- 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
|
## [0.23.5] - 2024-05-19
|
||||||
|
|
||||||
|
|||||||
@@ -168,7 +168,9 @@ function OnVideoContentTaskErrorDialogResponse(event as object)
|
|||||||
shouldPlayNext = dialog.actualButtonSelected = 0
|
shouldPlayNext = dialog.actualButtonSelected = 0
|
||||||
|
|
||||||
if not shouldPlayNext or not VideoQueueUtils.PlayNext(m.videoQueue, m.invidious, m.preferences)
|
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
|
end if
|
||||||
|
|
||||||
Lounge.SendOnStateChange()
|
Lounge.SendOnStateChange()
|
||||||
|
|||||||
Reference in new issue
Block a user