Closed gabrielhsdev closed 2 weeks ago
Hi @ImprovedTube,
I hope you can take a moment to review this pull request, which addresses the first task from issue #2111: "Pause while typing on youtube.com".
This enhancement pauses video playback when the user is typing on youtube.com, resuming once typing stops. I believe this will greatly improve user experience.
I plan to work on the remaining tasks and will submit separate pull requests for each one as they are completed.
Thank you in advance for your time and consideration.
Best regards
Made additional commits to address some edge cases I found @ImprovedTube . Thanks!
Title: Implemented "Pause while typing on youtube.com" feature. #2111
Description:
This pull request implements the feature to pause the video while typing on youtube.com. This enhancement aims to improve user experience by automatically pausing playback during typing activities.
Feature:
Pause video playback while typing. Returns once typing stops (2-seconds between keystrokes)
Details:
The video will automatically pause when the user starts typing in any input field on youtube.com. Playback will resume once typing stops for a short period.
Testing:
The feature was tested on input fields including the search bar, comment sections, and text input areas on youtube.com. The video correctly pauses when typing starts and resumes after typing ends.