polimediaupv / paella-core

Paella Player core library
Educational Community License v2.0
20 stars 15 forks source link

Control bar does not disappear on play when playPauseButton is clicked #321

Closed karendolan closed 1 year ago

karendolan commented 1 year ago

Even when the mouse is off the player, if the mouse, or tab-enter, was used to click the playPauseButton, the control bar will not disappear when the video starts playing.

I believe this is because the playPauseButton is considered to still retain focus after it has been clicked. Even if the mouse is moved away from the control bar. When any item on the control bar is considered to retain focus, the control bar will not disappear.

This affects the user experience since the visible control bar covers part of the video in most layouts.

karendolan commented 1 year ago

HI @ferserc1 , related to this, users who only use the keyboard, but not mouse, are unable to remove focus from the video using ESC key.

To duplicate:

karendolan commented 1 year ago

I'll put that in a new issue ticket