mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-05 12:22:28 +00:00
Ensure channel grid passes playback sources to modal
This commit is contained in:
1 parent
daf39ce361
commit
9531fb21be
4 files changed
+83
-15
No files matched your search
+6
-1
@@ -581,7 +581,12 @@ class SubscriptionsManager {
|
||||
return;
|
||||
}
|
||||
if (detail.videoId) {
|
||||
Promise.resolve(app?.playVideoByEventId?.(detail.videoId)).catch(
|
||||
Promise.resolve(
|
||||
app?.playVideoByEventId?.(detail.videoId, {
|
||||
url: detail.url,
|
||||
magnet: detail.magnet,
|
||||
})
|
||||
).catch(
|
||||
(error) => {
|
||||
console.error(
|
||||
"[SubscriptionsManager] Failed to play by event id:",
|
||||
|
||||
Reference in new issue
Block a user