html5: add worker js back

main
Dominik Madarász 2023-09-16 14:51:30 +02:00
parent ad9d3e8eee
commit 9724d064cf
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,6 @@ int main() {
// 75% window, msaa x2 // 75% window, msaa x2
window_create(0.75f, 0); window_create(0.75f, 0);
window_aspect_lock(910, 540); window_aspect_lock(910, 540);
video_t *v = video( "bjork-all-is-full-of-love.mp4", VIDEO_RGB ); video_t *v = video( "videos/pexels-pachon-in-motion-17486489.mp4", VIDEO_RGB );
window_loop(render, v); window_loop(render, v);
} }

View File

@ -157,5 +157,7 @@
// document.addEventListener('MSFullscreenChange', exitFullscreen, false); // document.addEventListener('MSFullscreenChange', exitFullscreen, false);
// document.addEventListener('webkitfullscreenchange', exitFullscreen, false); // document.addEventListener('webkitfullscreenchange', exitFullscreen, false);
</script> </script>
<script src="index.coi.worker.js"></script>
</body> </body>
</html> </html>