From a2af9ba8f3b593373904d010446e2b6a3e760b96 Mon Sep 17 00:00:00 2001 From: dilgenfritz Date: Thu, 30 Oct 2025 20:12:00 -0500 Subject: [PATCH] Implement working Porn Cinema media player with video library - Added complete porn cinema media player with dedicated HTML page - Implemented PornCinema class with video playback, controls, keyboard shortcuts - Added VideoLibrary class with thumbnail generation and duration display - Canvas-based thumbnails with aspect ratio support for portrait/landscape videos - Playlist functionality with save/load, shuffle, auto-advance - Desktop file manager integration for video file access - Enhanced MIME type handling with fallback strategies for .mov files - Professional dark cinema theme with responsive design - One-handed keyboard controls for playback and navigation - Quality selection, theater mode, fullscreen support - Working video playback with proper file:// URL handling for Electron --- porn-cinema.html | 13 +- src/features/media/pornCinema.js | 219 +++++++++++++++- src/features/media/videoLibrary.js | 396 ++++++++++++++++++++++++++++- src/styles/porn-cinema.css | 5 + 4 files changed, 604 insertions(+), 29 deletions(-) diff --git a/porn-cinema.html b/porn-cinema.html index a02760d..dafdd3c 100644 --- a/porn-cinema.html +++ b/porn-cinema.html @@ -198,7 +198,7 @@