feat: Add IPTV player screen with live stream FFmpeg transcoding, playback position tracking, and new dashboard and digital clock widgets.

This commit is contained in:
Michael committed 2025-12-07 10:02:54 +01:00
1 parent 0793a90ad8
commit d056877b9e
4 files changed
+68 -2

No files matched your search

+12
View File
@@ -166,6 +166,18 @@
}, '*');
});
// Report user activity (mouse movement) to parent
let lastActivityTime = 0;
document.addEventListener('mousemove', () => {
const now = Date.now();
if (now - lastActivityTime > 100) { // Throttle to 100ms
lastActivityTime = now;
window.parent.postMessage({
type: 'user_activity'
}, '*');
}
});
// Seek to startTime when video is ready
video.addEventListener('loadedmetadata', () => {
if (startTime > 0 && startTime < video.duration) {