1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

play/pause when Enter is pressed on non-dragging position slider

This commit is contained in:
Steve Hoffing 2024-06-09 13:34:12 -04:00 committed by Bill Thornton
parent 9a00a6c379
commit e28b55721d
2 changed files with 21 additions and 2 deletions

View file

@ -1775,6 +1775,10 @@ export default function (view) {
}
});
nowPlayingPositionSlider.addEventListener('playpause', function () {
playbackManager.playPause(currentPlayer);
});
nowPlayingPositionSlider.updateBubbleHtml = function(bubble, value) {
showOsd();