599 Commits

Author SHA1 Message Date
Yiannis Christodoulou
67bc60066c Revert "Add dark background for embed video player"
This reverts commit 59cba4803b4600b609da611096f4747000673249.
2025-10-06 19:14:26 +03:00
Yiannis Christodoulou
a1479ac392 build assets 2025-10-06 18:30:59 +03:00
Yiannis Christodoulou
59cba4803b Add dark background for embed video player
Introduces a utility to set a black background and remove margins/padding for embed contexts in main.jsx, improving visual consistency for embedded video players. Also updates embed.css to enforce a black background for the embed page.
2025-10-06 18:29:16 +03:00
Yiannis Christodoulou
55756e7011 build assets 2025-10-06 18:20:17 +03:00
Yiannis Christodoulou
6dae2e616e Sync EmbedInfoOverlay visibility with control bar
Updated the overlay's visibility logic to match the control bar's visibility, showing the overlay when the user is active, video is paused, ended, or hasn't started. Adjusted CSS transition to include visibility for smoother appearance changes.
2025-10-06 18:17:37 +03:00
Yiannis Christodoulou
b70c938d83 Make embed player control bar sticky at bottom
Added CSS rules to position the embed player's control bar fixed at the bottom of the window, ensuring it remains visible and accessible regardless of scroll position.
2025-10-06 18:11:32 +03:00
Yiannis Christodoulou
b123660641 build assets 2025-10-06 17:56:54 +03:00
Yiannis Christodoulou
9a86398398 Adjust tooltip positioning for settings button
Updated the CSS for the video-js settings button tooltip to align it to the right and apply a horizontal transform. Also removed commented-out code for last-child control tooltip positioning.
2025-10-06 17:55:00 +03:00
Yiannis Christodoulou
1473c2a057 Update ButtonTooltips.css 2025-10-06 17:46:28 +03:00
Yiannis Christodoulou
1c5f06cf5e Remove custom background styling from progress bar
Eliminated inline background color styles for the progressControl and its holder in EndScreenHandler. This change relies on default or external styles for a cleaner implementation.
2025-10-06 17:45:39 +03:00
Yiannis Christodoulou
dc8de4b11b build assets 2025-10-06 17:41:56 +03:00
Yiannis Christodoulou
c5db3720ad Fix tooltip alignment for last control button
Adjusts the tooltip positioning for the last button in the video.js control bar by setting 'right: 0' and 'left: auto' to ensure proper alignment.
2025-10-06 17:38:31 +03:00
Yiannis Christodoulou
ae3b013188 Remove console error for muted autoplay block
Commented out the console.error statement that logged muted autoplay block errors to reduce unnecessary console output.
2025-10-06 17:19:59 +03:00
Yiannis Christodoulou
d29c415d64 Remove focus outline from video player buttons
Added CSS to disable the default focus outline on .vjs-button elements for improved visual appearance.
2025-10-06 17:19:51 +03:00
Yiannis Christodoulou
26c2413f12 Add SVG icons to AutoplayToggleButton
Replaces font icon classes with inline SVG icons for the autoplay toggle button, providing distinct icons for ON and OFF states. Updates CSS for SVG sizing and removes focus outlines for improved appearance and accessibility.
2025-10-06 17:12:59 +03:00
Yiannis Christodoulou
d501813124 build assets 2025-10-06 14:37:56 +03:00
Yiannis Christodoulou
e65954f391 Refactor embed player styles and overlay behavior
Simplifies and updates embed player CSS for YouTube-style fullscreen poster and video display, moving legacy styles to embed_OLD.css. Refines overlay visibility logic in EmbedInfoOverlay for more accurate YouTube-like behavior, and ensures embed styles are imported in VideoJSPlayer. Updates HTML to enforce full-viewport sizing and overflow handling for embedded player.
2025-10-06 13:57:54 +03:00
Yiannis Christodoulou
a29d94dcbd Remove VideoJSNew and consolidate player components
Deleted VideoJSNew.jsx and removed VideoJSPlayerNew from exports. Merged VideoJSPlayerNew.css into VideoJSPlayer.css and updated VideoJSPlayer.jsx with new features, configuration, and sample data. Refactored and enhanced VideoJSPlayer to be the main player component, updating references and improving tooltip, autoplay, and control bar logic.
2025-10-06 12:41:54 +03:00
Yiannis Christodoulou
afaab453e1 refactor everything related to video.js 2025-10-06 11:42:07 +03:00
Yiannis Christodoulou
9627ef45f2 Shorten sample subtitles for oceans video
Reduced the number of subtitle entries in both Greek and English sample VTT files to only include the introduction and overview, removing detailed descriptions and additional lines for brevity.
2025-10-04 00:41:19 +03:00
Yiannis Christodoulou
2e07304405 Remove commented divs and unify body styling in VideoJS HTML
Cleaned up index-embed.html and index.html by removing commented-out div elements and applying consistent body padding and margin styles. This improves code readability and ensures a uniform layout.
2025-10-03 22:06:11 +03:00
Yiannis Christodoulou
b224a66e74 Remove background color from video control elements
Eliminated the semi-transparent black background from multiple video control CSS selectors to improve visual consistency and reduce unnecessary styling.
2025-10-03 13:18:17 +03:00
Yiannis Christodoulou
f5f0686e45 fix: Small player size optimization - 2 items horizontally for better title readability 2025-10-03 13:11:51 +03:00
Yiannis Christodoulou
461efec83a build assets 2025-10-03 13:03:26 +03:00
Yiannis Christodoulou
ef07bd86e2 Improve end screen overlay layout and touch support
Refines EndScreenOverlay CSS for better spacing, grid alignment, and responsive behavior across various screen sizes and embed heights. Adds touch device detection in JS to show overlays and durations by default for improved usability on mobile devices. Limits related video items to 2 for small embed heights to enhance readability.
2025-10-03 13:00:30 +03:00
Yiannis Christodoulou
373a64cfba fix: Prevent scrollbars in video player and embed styles 2025-10-03 11:44:27 +03:00
Yiannis Christodoulou
cd1a7f912b fix: Add conditional border-radius styling to template
Introduces a style block that reverts border-radius for specific elements when USE_ROUNDED_CORNERS is not set. This allows dynamic control of rounded corners based on configuration.
2025-10-03 11:28:43 +03:00
Yiannis Christodoulou
d9dacd8511 build assets 2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
f4314a36e9 Update chapter marker color to golden yellow 2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
ccfe93a0f4 Hide HLS buffer segment boundaries and update dev mode 2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
94d8a70d59 Update mock media data for VideoJSPlayer
Replaces the mock video, poster, and related URLs in the development fallback data with new assets for user 'markos'. Updates encoding and HLS info to match the new video, and disables development mode by setting isDevMode to false.
2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
7356531c07 Adjust seekbar and end screen overlay styles 2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
09454774ac build assets 2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
ef7dc9b984 build assets 2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
1585d619a7 Improve video control alignment and responsive time display
Adjusted CSS for video control wrappers to ensure consistent alignment and spacing across desktop and mobile. Reduced gaps between PiP and fullscreen buttons, and hid subtitles button on small screens for better layout. Updated CustomRemainingTime.css to increase font size, padding, and font weight for better readability on smaller devices.
2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
44e6beb814 Center and resize settings button in VideoJS
Added CSS rules to center the settings button within its wrapper and increased the SVG icon size by 2px for improved visual alignment in the video player controls.
2025-10-03 11:24:35 +03:00
Yiannis Christodoulou
a43316bd5b Add custom wrapper for fullscreen button in VideoJS 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
09bd4d59b1 Style and wrap picture-in-picture button in VideoJS
Added custom CSS for the picture-in-picture button wrapper to ensure consistent sizing and alignment with other controls. Updated VideoJSPlayer.jsx to wrap the PiP button in a styled container for improved UI consistency.
2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
37464e5a86 Add custom wrapper for settings button in VideoJS 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
b70e8267ac Add custom styling for subtitles button 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
30e3fce967 Add custom styling for chapters button 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
9e689c88ba Add custom wrapper for autoplay toggle button 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
73ea56c79b Add custom wrapper for volume panel 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
0f135e61bb Improve remaining time styling and settings button logic 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
8f872951e4 Add close button to AutoplayCountdownOverlay
Introduces a close button to the autoplay countdown overlay for improved user control. Updates CSS for button styling and responsive behavior, and adds event handling in JS to allow users to cancel autoplay via the new button.
2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
d7c62530b0 Wrap buttons in custom div container 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
86ce2ce0de fix: Global control order for all screens 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
426cc7c636 upload assets 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
75419a7402 fix: Dark background overlay when controls are visible to improve readability on bright videos 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
df1f5bd8a7 build assets 2025-10-03 11:24:34 +03:00