592 Commits

Author SHA1 Message Date
Yiannis Christodoulou
48e632c17f Improve icon size calculation for AutoplayToggleButton
Icon size is now calculated in pixels based on em units from PlayerConfig, with scaling and sensible defaults. Added defensive checks to ensure iconSize is always a valid number, improving reliability across device types.
2025-10-16 17:13:44 +03:00
Yiannis Christodoulou
06baf6b1e6 Update version.py 2025-10-16 16:57:59 +03:00
Yiannis Christodoulou
af7b4f6212 Hide fullscreen and PiP controls for audio and touch devices
Updated VideoJSPlayer to hide the fullscreen toggle for audio files and the picture-in-picture toggle for both audio files and touch devices, improving the control bar UI for these scenarios.
2025-10-16 16:55:05 +03:00
Yiannis Christodoulou
133e147b32 build assets 2025-10-16 16:29:39 +03:00
Yiannis Christodoulou
84ed74d40d Increase mobile caption font size to 13
Updated the mobileFontSize setting in the captions config from 10 to 13 to improve readability on mobile devices.
2025-10-16 16:19:20 +03:00
Yiannis Christodoulou
b186bbe669 build assets 2025-10-16 16:12:45 +03:00
Yiannis Christodoulou
5a282c7cd2 Improve Safari audio/video initialization and fallbacks
Adds Safari-specific detection and initialization logic to better support audio and video playback, especially for cases where metadata is not loaded as expected. Implements fallback event listeners, user interaction triggers, and exposes an initialization helper to ensure the editor works reliably on Safari and iOS devices.
2025-10-16 16:12:35 +03:00
Yiannis Christodoulou
ac2aee8b8b build assets 2025-10-16 16:01:36 +03:00
Yiannis Christodoulou
219e80e9e2 Scope fullscreen button size to hover-capable devices
Wrapped the fullscreen button SVG sizing rules in a media query targeting devices with hover and fine pointer capabilities. This prevents the size override from affecting touch devices.
2025-10-16 15:50:56 +03:00
Yiannis Christodoulou
d955576a7e Center fullscreen button and adjust its size
Added CSS rules to center the fullscreen button's SVG and set its width and height to 30px for improved alignment and appearance.
2025-10-16 15:48:21 +03:00
Yiannis Christodoulou
166882558d Hide load progress bar in VideoJSPlayer seek bar
Set loadProgressBar to false in the seekBar config to hide the buffered/loaded progress indicator in the VideoJSPlayer component.
2025-10-16 15:43:43 +03:00
Yiannis Christodoulou
aa458a1a31 Add sample media file and update VideoJSPlayer
Added a comprehensive sample-media-file.json for use with the video player. Updated VideoJSPlayer.jsx to support or utilize the new sample media file, likely for development or testing purposes.
2025-10-16 15:16:11 +03:00
Yiannis Christodoulou
085e944861 ChapterEditor: Add keyboard shortcuts for video playback controls
Implemented keyboard shortcuts for play/pause (Space), jump backward (ArrowLeft), and jump forward (ArrowRight) in the chapters editor. Shortcuts are disabled when typing in input fields to prevent interference with text entry.
2025-10-16 14:59:32 +03:00
Yiannis Christodoulou
b330567955 build assets 2025-10-16 14:49:17 +03:00
Yiannis Christodoulou
1e8b1ea839 build assets 2025-10-16 14:48:32 +03:00
Yiannis Christodoulou
276bf6a875 Standardize z-index hierarchy for VideoJS overlays
Introduced a Z-INDEX-HIERARCHY.md documentation file and updated z-index values across overlay and control CSS files to enforce a consistent stacking order. Ensures tooltips are always on top, menus and chapters overlays are above informational overlays, and end screen overlays remain at the base of the overlay stack. This improves UI layering logic and user interaction reliability.
2025-10-16 14:47:23 +03:00
Yiannis Christodoulou
6b68e6537f Chapter Editor: Show placeholder for default chapter titles
When a segment's chapter title is a default generated name (e.g., 'Chapter 1'), the editing field now displays an empty string to trigger the placeholder, improving the user experience for custom title entry.
2025-10-16 14:28:15 +03:00
Yiannis Christodoulou
88d6ef3700 Increase default font size in player config
Updated the fontSize property from 12 to 14 in the player configuration to improve text readability.
2025-10-16 13:42:04 +03:00
Yiannis Christodoulou
211a442f29 Add default audio poster and update video player props
Added a default audio poster image and updated VideoJSPlayer to use it when no poster_url is provided. Also refactored mock media data property names for consistency.
2025-10-16 13:41:48 +03:00
Yiannis Christodoulou
2b7fdca417 Refactor media type check in edit_video view
Replaced 'not in' comparison with a more Pythonic 'not in' syntax for checking media type in the edit_video view.
2025-10-13 01:56:12 +03:00
Yiannis Christodoulou
399c06d36a build assets 2025-10-13 01:52:06 +03:00
Yiannis Christodoulou
d9aee11d44 fix: Edit: Chapter: When undoing / redoing edits, the edits are not saved 2025-10-13 01:49:53 +03:00
Yiannis Christodoulou
bd786c0fe6 Generate chapter names based on segment order
Introduces a helper function to assign chapter titles like 'Chapter 1', 'Chapter 2', etc., based on the chronological position of each segment. Updates all segment creation and splitting logic in TimelineControls and useVideoChapters to use this naming convention for improved clarity and consistency.
2025-10-13 01:45:18 +03:00
Yiannis Christodoulou
e06115b8ee fix: Chapters: If adding a chapter between two existing chapters, the order of the chapters are wrong in the editor timeline, and in the player chapter view 2025-10-13 01:40:03 +03:00
Yiannis Christodoulou
f67021b17b fix: Chapters: Play should not stop at the end of a chapter or a cutaway area, but should just continue play through. 2025-10-13 01:35:12 +03:00
Yiannis Christodoulou
ee7fb7950c Chapters: Play Preview should not be included for the chapter editor - only Play is needed 2025-10-13 01:24:20 +03:00
Yiannis Christodoulou
622cec680a build assets 2025-10-13 01:19:35 +03:00
Yiannis Christodoulou
13ac69bd50 Remove play icon from chapter drag handle
Updated the CustomChaptersOverlay component to always display the chapter index in the drag handle, removing the conditional play icon ('▶') for the active chapter. This simplifies the UI and ensures consistent labeling of chapter handles.
2025-10-13 01:18:21 +03:00
Yiannis Christodoulou
cf1b84d538 Hide time tooltip, mouse display, and sprite preview for audio files 2025-10-13 01:14:15 +03:00
Yiannis Christodoulou
cd9fc51619 Enable audio files in video edit and navigation
Updated logic in both the edit_video view and media navigation template to allow audio media types, in addition to video, to access video editing features and navigation links.
2025-10-13 00:53:47 +03:00
Yiannis Christodoulou
ea67201fa5 fix: Subtitles button toggles settings menu directly to subtitles 2025-10-13 00:48:52 +03:00
Yiannis Christodoulou
a891f64ba9 build assets 2025-10-13 00:34:13 +03:00
Yiannis Christodoulou
c5b11505e0 Ensure time control visibility in VideoJSPlayer
Updated CSS to always display the time control in the video player across all screen sizes, while hiding the time divider. This improves consistency in the player UI.
2025-10-13 00:28:44 +03:00
Yiannis Christodoulou
fb373f3c2c fix: Chapters: The default text in a new chapter’s text field is “segment”. Change to (e.g.): “Add Chapter Text” 2025-10-12 21:37:29 +03:00
Yiannis Christodoulou
0fccefeec6 Refine tooltip and chapter input styles in timeline
Adjusted the tooltip position transition endpoint for better placement. Updated the chapter input to use a textarea selector, set fixed height constraints, and improved focus and placeholder styles for consistency. CSS and static assets updated to reflect these changes.
2025-10-12 21:34:48 +03:00
Yiannis Christodoulou
6b349e5813 update assets 2025-10-11 03:33:44 +03:00
Yiannis Christodoulou
10cd7334e7 build assets 2025-10-11 03:18:29 +03:00
Yiannis Christodoulou
62ce066910 Hide progress bar on embed player until video starts
Restores conditional logic to hide the progress bar for embed players until playback begins, ensuring regular players display the progress bar as expected.
2025-10-11 03:17:29 +03:00
Yiannis Christodoulou
30fdfaf452 Redesign end screen overlay with compact grid and text overlays
Refactors EndScreenOverlay to use a more compact grid layout, overlays video title and meta info directly on thumbnails, and adjusts card heights for better space utilization. Updates CSS for responsive breakpoints, adds new sample videos, and improves grid configuration logic for various screen sizes. Debugging styles and logs are included for development visibility.
2025-10-11 03:09:49 +03:00
Yiannis Christodoulou
f07e5b9e5a Revert "Keep progress bar always visible in VideoJSPlayer"
This reverts commit 24e9fb4e40e6cfd2e37ba8e2a75e2b070d83c725.
2025-10-11 02:42:26 +03:00
Yiannis Christodoulou
8fd1b5e875 Update version.py 2025-10-11 02:40:58 +03:00
Yiannis Christodoulou
107b8d9db0 Enhance end screen overlay with responsive grid and swiper
Redesigned the end screen overlay to support a responsive grid layout for related videos on larger screens and a horizontal swiper for small screens. Improved card consistency, added navigation indicators for the swiper, and unified styling in both CSS and JS for better user experience and maintainability.
2025-10-11 02:38:56 +03:00
Yiannis Christodoulou
24e9fb4e40 Keep progress bar always visible in VideoJSPlayer
Updated the logic to ensure the progress bar remains visible even when the control bar is hidden, except for embed players where it is hidden with controls. Also cleaned up hls_info mock data and improved initial progress bar visibility handling.
2025-10-11 02:38:49 +03:00
Yiannis Christodoulou
f787087531 Improve mobile responsiveness for settings and chapters
Adds mobile-first responsive CSS for the custom settings menu and chapters overlay, including adaptive sizing, touch-friendly interactions, and prevention of body scroll when overlays are open. Updates CustomSettingsMenu.js to detect mobile devices, handle touch events for menu items, and manage scroll locking and haptic feedback for a better mobile user experience.
2025-10-11 01:48:26 +03:00
Yiannis Christodoulou
8eb196bf74 Improve mobile UX for chapters overlay and add chapters
Enhanced the CustomChaptersOverlay component and CSS for a more responsive, touch-friendly mobile experience, including haptic feedback, scroll optimizations, and body scroll locking. Updated SubtitlesButton indicator for better alignment. Added multiple new chapters to the sample video in VideoJSPlayer.jsx for richer navigation.
2025-10-11 01:35:38 +03:00
Yiannis Christodoulou
ab96f33bf3 Enable and refine mobile play/pause touch handling
Uncomments and activates the setupMobilePlayPause function to improve mobile play/pause behavior. Removes unnecessary console.log statements and refactors the play/pause logic for clarity.
2025-10-11 01:00:00 +03:00
Yiannis Christodoulou
26cf9241c4 Show icons (play/pause/next/prev) on touch devices as we dont use native browser 2025-10-11 00:58:22 +03:00
Yiannis Christodoulou
e9431d8191 Disable touch device check in SeekIndicator show method
Commented out the early return for touch devices in the SeekIndicator's show method, allowing the indicator to display regardless of device type. This may be for testing or to support custom controls on touch devices.
2025-10-11 00:44:42 +03:00
Yiannis Christodoulou
27a6ab0755 Update video player config and progress bar visibility
Renamed 'hls_info' to '_hls_info' in mock data and restored an empty 'hls_info' object. Changed 'useRoundedCorners' to false. Added a console log for 'autoplayHandler'. Modified progress bar visibility logic to always hide initially, regardless of embed player status.
2025-10-11 00:26:26 +03:00
Yiannis Christodoulou
0ff7269e87 fix header z-index 2025-10-11 00:26:03 +03:00