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

fix(ADA-1275): When user focuses the player he will be able to play/pause with "space" key #907

Conversation

RazvanBrinzoiK05
Copy link
Contributor

Issue:
After the pre-playback-overlay is rendered, with the centered big play button shown in the player container, the user can use it to start the playback and make the overlay component disappear. Afterwards he can play/pause the media by pressing "Space" key due to the fact that initially the play/pause button is focused.

The issue appears when the user switches focus from the player and returns to it, because the play button will not be focused anymore.

Fix:

Added event listener on the player container for the space key.

@RazvanBrinzoiK05 RazvanBrinzoiK05 merged commit e448fed into master Aug 6, 2024
11 checks passed
MosheMaorKaltura added a commit that referenced this pull request Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants