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

Video focus does not switch in Chrome and Safari when clicking play, pause, or seeking #741

Closed
alexsielicki opened this issue Aug 16, 2017 · 1 comment
Assignees

Comments

@alexsielicki
Copy link
Collaborator

This is the same problem I found in VideoSwarm. Chrome and Safari do not fire the click even when the user clicks on the video element's play or pause buttons or seeks the video. Fix is the same too, add code that switches video focus to each video's pause, play, and seeked event handlers.

@alexsielicki
Copy link
Collaborator Author

I tested this again after rewriting a lot of the event handling due to #780. Here is the current status:

  • In Chrome 62 on macOS, focus does not switch when playing, pausing, or seeking video.
  • In Safari 11 on macOS, focus does switch with play, pause, and seek, so everything works as expected.
  • In Firefox 52 on macOS, focus does switch but the controls need to clicked again to play, pause, or seek if the frame didn't have focus initially.

We should standardize this so it works like in Safari 11, meaning that clicking a control in an unfocused frame both triggers the control and brings focus to the frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant