diff --git a/embed.html b/embed.html index 03a5d510..134c3f62 100644 --- a/embed.html +++ b/embed.html @@ -79,7 +79,7 @@ > + Watch on - Watch on BitVid { app.currentVideo.pointer = app.currentVideoPointer; app.currentVideo.pointerKey = app.currentVideoPointerKey; } + + // Ensure stats subscriptions are active since we don't go through playVideoByEventId + if (app.subscribeModalViewCount) { + app.subscribeModalViewCount( + app.currentVideoPointer, + app.currentVideoPointerKey + ); + } + if (app.reactionController && app.reactionController.subscribe) { + app.reactionController.subscribe( + app.currentVideoPointer, + app.currentVideoPointerKey + ); + } }; const startEmbed = async () => {