When in full screen, space key does not pause or play video
Official Instance
- [ ] The bug is reproducible on the official hosted instance, or is API-related.
Describe the bug
Since the Tailwind rewrite(?), when I send a video to fullscreen mode, the Space key stops pausing or playing the video. When I exit fullscreen it works again.
To Reproduce
- Open a Piped video playback page.
- Click the fullscreen button or press the
fkey to enter fullscreen. - Try to pause the video with the spacebar.
Expected behavior
Space toggles whether the video is paused or playing.
Logs/Errors
No response
Browser, and OS with Version.
Firefox 149.0 (64-bit), Windows 10
Additional context
No response
Fixed this issue in my fork alongside https://github.com/TeamPiped/Piped/issues/4238. image: logicalkarma/piped-frontend:latest
It's largely that I'm hoping for upstream Piped to get this change, or for it to not be AI-generated. I think upstreaming is a proxy indicator of "knowing it will be maintained" (I noticed https://github.com/t6fb3m59/Piped-LK is already falling behind upstream master), while AI-generated code is a direct indicator of "this change is not understood by humans and not expected to belong to a sustainably maintained future" (not to mention negative environmental effects). I'd be willing to test the code if it was rewritten using human understanding, or reviewed (even as-is) by the Piped team and considered for merging (if not merged already).