feat(iptv): introduce web-based video player screen for live, VOD, and series content

This commit is contained in:
Michael committed 2025-12-08 20:10:40 +01:00
1 parent ec9ea0f66b
commit d48d25f65e
6 files changed
+51 -14

No files matched your search

+3 -3
View File
@@ -144,7 +144,7 @@
window.parent.postMessage({
type: 'playback_position',
currentTime: video.currentTime,
duration: video.duration || 0
duration: isFinite(video.duration) ? video.duration : 0
}, '*');
}
}
@@ -158,7 +158,7 @@
window.parent.postMessage({
type: 'playback_position',
currentTime: video.currentTime,
duration: video.duration || 0
duration: isFinite(video.duration) ? video.duration : 0
}, '*');
});
@@ -166,7 +166,7 @@
video.addEventListener('ended', () => {
window.parent.postMessage({
type: 'playback_ended',
duration: video.duration || 0
duration: isFinite(video.duration) ? video.duration : 0
}, '*');
});