code-charity / youtube

[top~1 open YouTube & Video web-extension] Enrich your experience & choice! 🧰100+clever features📌set&forget📌Longest-standing(yet rare&tough alone. Please help/join🧩us👨‍👩‍👧‍👧) ..⋮ {playback|content discovery|player|extra buttons|distractions|related videos|shorts|ads|quality|codec|full tab|full screen}
http://improvedtube.com
Other
3.29k stars 498 forks source link

#2111 #2336

Closed gabrielhsdev closed 2 weeks ago

gabrielhsdev commented 2 weeks ago

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.

image

gabrielhsdev commented 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

gabrielhsdev commented 2 weeks ago

Made additional commits to address some edge cases I found @ImprovedTube . Thanks!