Implement video thumbnail generation and Windows 11 UI

This commit is contained in:
Alvin-Zilverstand committed 2026-11-19 20:31:29 +01:00
1 parent a1af08aa00
commit 74dd0a9cf5
8 files changed
+229 -37

No files matched your search

+5 -5
View File
@@ -6,7 +6,7 @@
<link rel="stylesheet" href="/styles.css" />
<title>Media Viewer</title>
</head>
<body>
<body id="body">
<div id="app">
<header id="main-header">
<h1 id="app-title">Media Viewer</h1>
@@ -14,7 +14,7 @@
<button id="open-dir-btn">Open Directory</button>
</div>
</header>
<main id="main-content">
<main>
<div id="file-list" class="file-list">
<!-- Files will be listed here -->
</div>
@@ -22,12 +22,12 @@
<div class="viewer-controls">
<button id="close-viewer-btn">Close</button>
</div>
<div class="viewer-content" id="viewer-content">
<!-- Image or Video will be here -->
</div>
<div class="viewer-content" id="viewer-content"></div>
</div>
</main>
</div>
<video id="thumbnail-video" style="display: none;" playsinline></video>
<canvas id="thumbnail-canvas" style="display: none;"></canvas>
<script type="module" src="/src/main.ts"></script>
</body>
</html>