27 Commits

Author SHA1 Message Date
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
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
afaab453e1 refactor everything related to video.js 2025-10-06 11:42:07 +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
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
7356531c07 Adjust seekbar and end screen overlay styles 2025-10-03 11:24:35 +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
1788ed27f4 fix: Improve the style in related items 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
fa85e5768a fix: Responsive grid adjustments for different screen sizes 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
5277476921 fix: Apply rounded corners only when useRoundedCorners is true 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
4e725d8659 fix: Hide poster image when video ends and end screen is shown 2025-10-03 11:24:34 +03:00
Yiannis Christodoulou
d5d1e2496f feat: Show overlay (avatar & title) in embed, when controls are visible or video is paused/stopped 2025-10-03 11:24:33 +03:00
Yiannis Christodoulou
71ad76285f feat: separate css files for better control 2025-10-03 11:24:33 +03:00
Yiannis Christodoulou
7c249dd1ef fix: Show avatar and title when video is paused/stopped in embed mode 2025-10-03 11:24:33 +03:00
Yiannis Christodoulou
2d9594eb50 fix: Z-index while the embed goes behind the countdown timer to next video 2025-10-03 11:24:33 +03:00
Yiannis Christodoulou
4175a9d08f fix: Check if this is an embed player, and open the links to a new tab 2025-10-03 11:24:33 +03:00
Yiannis Christodoulou
4edd93f182 fix: Remove the title "More videos" in related videos screen 2025-10-03 11:24:33 +03:00
Yiannis Christodoulou
bb70888748 fix: Improve autoplay countdown 2025-10-03 11:24:33 +03:00
Yiannis Christodoulou
57616c6b81 fix: Disable tooltip on touch devices (mobile and tablets) 2025-10-03 11:24:33 +03:00
Yiannis Christodoulou
51b52c38a3 fix: Remove the dark background from avatar/title in embed 2025-10-03 11:24:32 +03:00
Yiannis Christodoulou
68fa1efe87 feat: Add Embed Info Overlay Component (for embed player only) 2025-10-03 11:24:30 +03:00
Yiannis Christodoulou
5fda4610da fix: Chapter title, next video icon, play video with sound, dark opacity, fix hls, cleanup logs 2025-10-03 11:24:30 +03:00
Yiannis Christodoulou
492911786c chore: Run prettier for css files 2025-10-03 11:24:28 +03:00
Yiannis Christodoulou
543085c38f fix: Video.js improve browser/device compatibility, fixes and a lot improvements 2025-10-03 11:24:25 +03:00
Yiannis Christodoulou
eaf87e20d8 feat: Autoplay functionality 2025-10-03 11:24:24 +03:00
Yiannis Christodoulou
a66d823d1d feat: Related media at the end of video 2025-10-03 11:24:23 +03:00
Yiannis Christodoulou
8c6361f17e feat: Separate the video.js components 2025-10-03 11:24:22 +03:00