Skip to content

Video js enhancements#37

Merged
jakemiki merged 3 commits intojakemiki:mainfrom
ApexTame:VideoJs_Enhancements
Nov 12, 2025
Merged

Video js enhancements#37
jakemiki merged 3 commits intojakemiki:mainfrom
ApexTame:VideoJs_Enhancements

Conversation

@ApexTame
Copy link
Copy Markdown
Contributor

@ApexTame ApexTame commented Oct 28, 2025

  • Replace default fade-out with elegant slide-down animation using translateY(100%)
  • Implement dual auto-hide triggers: cursor leave + inactivity detection -- note it already had that but made it work with the animation/better
  • Add spring easing (cubic-bezier) for natural, bouncy motion
  • Maintain control bar visibility when video is paused -- same with this. just made it the updated styles.
  • semi-transparent background (rgba(0,0,0,0.5)) for clean look

- Replace default fade-out with elegant slide-down animation using translateY(100%)
- Implement dual auto-hide triggers: cursor leave + inactivity detection
- Add spring easing (cubic-bezier) for natural, bouncy motion
- Maintain control bar visibility when video is paused
- Prevent phantom clicks with pointer-events: none when hidden
- semi-transparent background (rgba(0,0,0,0.5)) for clean look
- fix the sliding down animation where the control bar would slide down to the buttons, titles.
- Added css variables to make it easier to mess with transition times
- now control bar always stays when paused.
@ApexTame
Copy link
Copy Markdown
Contributor Author

ApexTame commented Nov 1, 2025

@jakemiki is this good? to be merged or do you want anything changed?

@jakemiki
Copy link
Copy Markdown
Owner

Looks good, thanks for your contribution! Sorry I took so long to get around to review it.

@jakemiki jakemiki merged commit 6f10e12 into jakemiki:main Nov 12, 2025
2 checks passed
@ApexTame ApexTame deleted the VideoJs_Enhancements branch November 12, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants