Commit Graph
55 Commits
Author SHA1 Message Date
kuekhaoyang accc2ca3bc refactor: remove proxy URL handling from video player and HLS hook 2025-11-29 17:05:34 +08:00
kuekhaoyang 5c3534ffa9 feat: proxy video sources through /api/proxy endpoint using a new utility function. 2025-11-29 16:46:10 +08:00
kuekhaoyang d7b2d373ea feat: Enhance proxy to forward client headers and control caching, and simplify video player's source handling by removing internal proxy URL construction. 2025-11-29 16:19:48 +08:00
kuekhaoyang a5c76b6f32 feat: Proxy video sources to resolve CORS/IP issues and adjust fetch retry/timeout for Vercel. 2025-11-29 16:10:01 +08:00
kuekhaoyang f9cf4fdfb2 feat: Add fetchWithRetry utility, improve proxy M3U8 handling, and warn about HEVC codecs in HLS player. 2025-11-29 15:55:24 +08:00
kuekhaoyang 9691cf5e97 feat: Introduce tag input/list, video player empty/error states, and URL copy utility. 2025-11-29 13:09:07 +08:00
kuekhaoyang 220d1b0faf feat: Implement HLS download and enhance copy link functionality to support original and proxied URLs. 2025-11-29 11:05:04 +08:00
kuekhaoyang 39ef730b88 feat: Add useHlsPlayer hook to manage HLS video playback and integrate it into DesktopVideoPlayer. 2025-11-28 21:46:55 +08:00
kuekhaoyang 3843ecdd84 feat: Implement intelligent HLS preloading that respects player loading state and browser buffer health. 2025-11-24 22:15:57 +08:00
kuekhaoyang 6ec795ed01 feat: Add cursor-pointer to interactive elements for improved user experience. 2025-11-24 18:23:19 +08:00
kuekhaoyang 71bf1ba06d feat: Improve service worker network error handling by returning 503 responses instead of throwing and refine client-side error logging for network unavailability. 2025-11-24 17:52:23 +08:00
kuekhaoyang 1384de946c feat: implement image optimization and extract mobile play/pause logic into a new hook. 2025-11-24 16:59:13 +08:00
kuekhaoyang 66be634b53 feat: Improve video playback state syncing for AirPlay and add unoptimized and referrerPolicy to image components. 2025-11-24 16:54:20 +08:00
kuekhaoyang 38bad7546f fix: Refine video seeking logic in playback controls to prevent overwrites and offset HLS preloader start index to avoid browser competition. 2025-11-23 23:18:22 +08:00
kuekhaoyang f0b19c1144 feat: Add usePlaybackPolling hook for robust playback progress updates and refine history item matching logic. 2025-11-23 23:11:59 +08:00
kuekhaoyang 95e4a733ee fix: Prevent video from getting stuck at 00:00:00 by seeking to 0.1s on start and enable autoplay by default. 2025-11-23 21:59:00 +08:00
kuekhaoyang 045247041d fix: prevent unnecessary video seeking if current time is close to initial playback time. 2025-11-23 17:21:12 +08:00
kuekhaoyang 09d8a124a5 feat: Implement HLS cache management with service worker updates, metadata tracking, and a settings UI. 2025-11-23 14:22:51 +08:00
kuekhaoyang 9ee468b246 feat: Implement debounced HLS segment preloading, preserve cache across manifest fetches, and add initialization tracking. 2025-11-23 13:58:23 +08:00
kuekhaoyang 1e31a842e9 feat: Implement HLS video segment preloading and caching using a service worker. 2025-11-23 13:01:08 +08:00
kuekhaoyang 5e9af1b89e feat: centralize homepage logic into a new hook and refactor settings management with subscription and helper functions. 2025-11-23 11:41:48 +08:00
kuekhaoyang 4489165a08 feat: Introduce shouldAutoPlay prop for video players and add a video content proxy API. 2025-11-22 16:41:11 +08:00
kuekhaoyang 1b5f591a7a feat: Integrate video playback progress with history store and ensure seeking on late initialization. 2025-11-22 15:53:05 +08:00
kuekhaoyang fd7d4c8083 feat: integrate MobileMoreMenu into RightControls and remove standalone volume and speed menus from MobileControls. 2025-11-22 11:45:45 +08:00
kuekhaoyang 5c67f69b5e refactor: Remove player-specific dependencies, setup script, keyboard shortcuts, and project documentation. 2025-11-22 10:56:11 +08:00
kuekhaoyang 58a8d4910e feat: Implement comprehensive search functionality, enhance video player controls for desktop and mobile, and refactor settings and history UI. 2025-11-21 19:00:23 +08:00
kuekhaoyang a408f2270f feat: Add video card component, desktop player controls, and introduce API utilities for search and data parsing. 2025-11-21 12:58:19 +08:00
kuekhaoyang 6e81559d90 refactor: extract player control logic into dedicated desktop and mobile hooks and introduce new mobile player control components. 2025-11-21 12:47:40 +08:00
kuekhaoyang 36488e545c feat: Introduce distinct mobile and desktop video player UI, controls, and state management, along with new styling and icon components. 2025-11-21 12:34:45 +08:00
kuekhaoyang d199c7aa6f feat: Add iOS detection and specific fullscreen handling, and remove redundant touch event handlers from player controls. 2025-11-20 09:30:48 +08:00
kuekhaoyang 33b5cc36e9 feat: Add viewport width tracking and refactor fullscreen implementation to use the container element for broader compatibility. 2025-11-19 16:57:06 +08:00
kuekhaoyang 3a756dd06f feat: Enhance search history dropdown with absolute positioning and empty state styling; improve video player autoplay functionality 2025-11-19 12:22:20 +08:00
kuekhaoyang cd8cccc4f5 feat: enhance MobileVideoPlayer with iOS fullscreen support and touch manipulation for buttons 2025-11-18 19:40:28 +08:00
kuekhaoyang 0c9844d9ce refactor: optimize performance in various components; adjust animation intervals, memoize components, and improve sorting logic 2025-11-18 17:43:09 +08:00
kuekhaoyang 79515e2702 refactor: optimize performance across components; adjust backdrop filters, transitions, and scrolling behavior 2025-11-18 17:25:50 +08:00
kuekhaoyang 79ac2c349e feat: Optimize component performance with GPU acceleration and add placeholder image for missing content 2025-11-18 15:15:45 +08:00
kuekhaoyang 44cae03731 feat: Implement comprehensive keyboard navigation for KVideo components
- Added `useKeyboardNavigation` hook for managing keyboard interactions across lists and grids.
- Integrated keyboard navigation into VideoGrid, TypeBadges, SearchHistoryDropdown, and EpisodeList components.
- Enhanced accessibility by implementing ARIA roles and properties.
- Established visual focus indicators following Liquid Glass design principles.
- Created detailed documentation for keyboard shortcuts and component usage.
- Conducted performance optimizations and ensured compliance with WCAG 2.2 standards.
2025-11-18 15:07:39 +08:00
kuekhaoyang 251e15a37d feat: Enhance accessibility with ARIA attributes and focus trap implementation 2025-11-18 14:58:03 +08:00
kuekhaoyang 25f0722d82 feat: update single tap behavior in MobileVideoPlayer to improve control visibility and play/pause functionality 2025-11-18 13:22:21 +08:00
kuekhaoyang bda49259f1 feat: add toast notification functionality and copy link option in video players 2025-11-18 13:20:22 +08:00
kuekhaoyang df437ce4ab feat: update time formatting in DesktopVideoPlayer and MobileVideoPlayer to include hours 2025-11-18 13:12:16 +08:00
kuekhaoyang d92c2808c2 feat: optimize scrolling performance and enhance control responsiveness in DesktopVideoPlayer 2025-11-18 13:10:42 +08:00
kuekhaoyang 0dbd02bef5 feat: implement auto-close functionality for menus in MobileVideoPlayer and manage video playback state 2025-11-18 13:05:40 +08:00
kuekhaoyang 5df494e8c8 feat: enhance MobileVideoPlayer with improved control responsiveness and progress seeking
refactor: clean up SourceBadges component by removing unused elements
refactor: update useDoubleTap hook to support continuous skipping in skip mode
2025-11-18 12:52:58 +08:00
kuekhaoyang a7480fb47a feat: add MobileVideoPlayer component with advanced controls and hooks
- Implemented MobileVideoPlayer component for mobile video playback.
- Added features such as play/pause, skip forward/backward, volume control, and fullscreen support.
- Integrated double-tap gesture handling for skipping video.
- Included hooks for screen orientation management and mobile detection.
- Enhanced user experience with loading indicators and playback speed options.
2025-11-18 12:40:50 +08:00
kuekhaoyang 0bb26ebf9a refactor: Remove unused video-related props and logic from search components 2025-11-17 22:59:15 +08:00
kuekhaoyang 13fa6b672e feat: Implement control visibility toggle on shortcut key press in CustomVideoPlayer 2025-11-17 22:38:53 +08:00
kuekhaoyang 6e0a3e26fe style: Adjust padding for progress bar and controls bar in CustomVideoPlayer for improved layout 2025-11-17 22:34:24 +08:00
kuekhaoyang 4ab102b30a feat: Enhance CustomVideoPlayer with volume bar visibility control and keyboard shortcuts for playback and volume adjustments 2025-11-17 22:31:27 +08:00
kuekhaoyang 058277ff12 feat: Refactor skip forward/backward functionality to apply accumulated skip amounts immediately and adjust fade out timing 2025-11-17 22:20:51 +08:00