mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 21:02:28 +00:00
Fix embed overlay position and view counter
This commit is contained in:
1 parent
15898d3175
commit
e02f8f48ae
3 files changed
+463
-453
No files matched your search
@@ -388,6 +388,14 @@ const startEmbed = async () => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (app.videoModal && typeof app.videoModal.load === "function") {
|
||||
try {
|
||||
await app.videoModal.load();
|
||||
} catch (error) {
|
||||
devLogger.warn("[embed] Failed to early-load video modal:", error);
|
||||
}
|
||||
}
|
||||
|
||||
app.currentVideo = video;
|
||||
setPointerState({ video, hint: resolved?.pointerHint || null });
|
||||
|
||||
|
||||
Reference in new issue
Block a user