You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove some useless key functions, as they are default in any video (HTML5): spacebar to play/pause, home/end to start/end, arrow keys...
Ignore key functions entirely if focused element (event.target) is editable (tagName == 'INPUT' || tagName == 'TEXTAREA' || tagName.isContentEditable || tagName == 'SELECT').
In case you don't understand how 3 could be valid if video is maximized: I use a sticky note addon for many reasons, one of them is to track where I stopped in long videos, so that I know where to start when I get back. Obviously, the content of this type of note consist of just numbers, but if I press, let's say, '5', instead of the number being typed in the note I end up with the video skipping to the middle of the duration.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi. Three suggestions related to key functions:
event.target
) is editable (tagName == 'INPUT' || tagName == 'TEXTAREA' || tagName.isContentEditable || tagName == 'SELECT'
).In case you don't understand how 3 could be valid if video is maximized: I use a sticky note addon for many reasons, one of them is to track where I stopped in long videos, so that I know where to start when I get back. Obviously, the content of this type of note consist of just numbers, but if I press, let's say, '5', instead of the number being typed in the note I end up with the video skipping to the middle of the duration.
Thanks.
The text was updated successfully, but these errors were encountered: