Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide mouse cursor on video element after user inactivity #756

Open
luwes opened this issue Oct 31, 2023 · 5 comments
Open

Hide mouse cursor on video element after user inactivity #756

luwes opened this issue Oct 31, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@luwes
Copy link
Contributor

luwes commented Oct 31, 2023

feature requested by multiple users

@luwes luwes added the enhancement New feature or request label Oct 31, 2023
@kentcdodds
Copy link

Can I request that the cursor be hidden after inactivity even if it's over video controls? It bugs the heck out of me when someone's sharing their screen and they move their mouse over the controls and the controls stay up through the whole video. Pet peeve I guess.

@luwes
Copy link
Contributor Author

luwes commented Nov 1, 2023

@kentcdodds thanks for the feedback! I'm not sure we can make that the default.
generally the controls stay active when the mouse is over the controls. I'll bring it up as an option w/ the team though.

have you seen this behavior with another player?

@kentcdodds
Copy link

I've definitely seen players do both, but can't think of a specific example

@cjpillsbury
Copy link
Collaborator

cjpillsbury commented Nov 2, 2023

Appreciate the feedback, @kentcdodds, and I've definitely seen that as well. We'd want to be cautious about adding it as default, minimally for accessibility considerations (not all folks are as quick on the draw with interactivity), but I like the idea of making it optional. Another thing we should probably consider in relationship to that is having our delayed hide behavior kick off if a user takes an action: e.g. if the user clicks the play button but doesn't then move the cursor, we can assume (optionally, by default, or as the de facto behavior) that they'd like the controls to eventually automatically hide. We should probably first do an ad hoc survey of other players in the wild to see how they behave around these things (iirc youtube will do this, but maybe only for play/pause? would have to recheck).

@kentcdodds
Copy link

That sounds awesome to me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants