diff --git a/CHANGELOG.md b/CHANGELOG.md index 5efe0818..e450d53a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs index 89df0ad2..09d01ace 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs @@ -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()