vidstack / player

UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
https://vidstack.io
MIT License
1.9k stars 114 forks source link

Hover not working when using mouse on tablet #1241

Open alejandrodecea opened 2 months ago

alejandrodecea commented 2 months ago

Current Behavior:

Whenever using a Windows tablet that does not have a keyboard attached (i.e. Windows goes into tablet mode) and the player is in the playing state, hovering over it will not cause the media controls to show, and on top of that, the cursor will be hidden all the time.

Expected Behavior:

The media controls should show when hovering over the player and the cursor should not be hidden.

Steps To Reproduce:

  1. Have Windows in tablet mode
  2. Put the player in the playing state
  3. Hover over the player after a few seconds

Environment:

ReminiscentBot commented 2 months ago

This happens to me, even when I don't have my laptop in tablet mode, if there is a way to fix this I would like to know so that I can continue to use this player on my website.