code-charity / youtube

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

"Pause, while I'm typing" Search || comment || chat. "Pause while scrolled down"[same moment as custom miniplayer] #2111

Open ImprovedTube opened 8 months ago

ImprovedTube commented 8 months ago

All of which might be structured as sub-options of auto-pause All of which might have an exclusion such [when the video is music] (existing in our speed-watching feature)

gabrielhsdev commented 8 months ago

Hi @ImprovedTube

I noticed this open issue and I'm interested in tackling it. Can I take ownership of this and work on a solution? I believe I can contribute effectively to resolving it, I would love to start working on this issue as soon as possible

You can also contact me via: henriquegabrielhs21@gmail.com.

Thanks.

ImprovedTube commented 6 months ago

thank you so much! @gabrielhsdev

gabrielhsdev commented 6 months ago

Thanks, @ImprovedTube ! I'll dive into it as soon as possible ( I will start working on the tasks on May 5th ) . Quick question: Would it be acceptable to create a separate pull request for each of the five tasks? Appreciate your guidance in advance.

gabrielhsdev commented 5 months ago

Hi @ImprovedTube

I apologize for the delay in addressing this issue. Over the past month, I've been dealing with a challenging schedule due to university and work commitments.

I am now able to focus on this task and will start development immediately. I will provide updates on each feature as I progress.

Thank you for your patience and understanding. This comment is to update you on my current status.

Best regards.

gabrielhsdev commented 5 months ago

@ImprovedTube Can you confirm I can still work on this task? Thanks

Currently, I am developing these buttons: image

gabrielhsdev commented 5 months ago

Hi @ImprovedTube

I hope you're doing well. I have just submitted a pull request for the first task on the list: "Pause while typing on youtube.com." When you have a moment, could you please review it?

https://github.com/code-charity/youtube/pull/2336

Thank you for your time and consideration.

Updated Task List (I will update the checkboxes as I complete each task):

ImprovedTube commented 5 months ago

Hi! @gabrielhsdev

as I complete each task

Thank you for the intellectual fulfillment! Was looking forward to somebody noticing the list! (besides that it is a first version, so of course it might still evolve.) Or at least there are nice related tasks/ideas already, that we might like to consider in advance already, like #1565 2. Smart (combined) Key event-chain analysis (?)


(For this project it also is increasingly relevant, that we nest/sort/structure our toggles)

2336: Didnt test yet. (starting with checking storage, it couldn't go wrong.)

(This could optionally also run in the existing keydown Eventlistener, thus not requiring it's own Eventlistener)

ImprovedTube commented 5 months ago

in what use-case might #2336 require the video to be visible? (more powerful as an extra toggle)

gabrielhsdev commented 5 months ago

Hi @ImprovedTube

On my testing, the video may go back into playing in the background if the check of isPlayerInViewport is not there.

Steps for replicating ( without the isPlayerInViewport check )

  1. Activate the extension switch ( pause while typing on YouTube )

  2. Go to a YouTube video

  3. Give it a few seconds to play and load

  4. Click on the main YouTube page (YouTube icon on the navbar ) image

  5. Waiting for everything to load

  6. Start typing on the search bar then stop ( do not search, hit enter, or anything ).

  7. The video loaded before going to the main YouTube page will resume playing, but just the audio. It is like the video plays on the background

gabrielhsdev commented 5 months ago

Hi! @gabrielhsdev

as I complete each task

Thank you for the intellectual fulfillment! Was looking forward to somebody noticing the list! (besides that it is a first version, so of course it might still evolve.) Or at least there are nice related tasks/ideas already, that we might like to consider in advance already, like #1565 2. Smart (combined) Key event-chain analysis (?)

(For this project it also is increasingly relevant, that we nest/sort/structure our toggles)

2336: Didnt test yet. (starting with checking storage, it couldn't go wrong.) (This could optionally also run in the existing keydown Eventlistener, thus not requiring it's own Eventlistener)

Thank you for the feedback @ImprovedTube

I'm glad to have noticed the list and contributed to it. Here are my thoughts on the points you mentioned:

Task #1565: The smart (combined) key event-chain analysis sounds like a great addition. I can see how this could provide valuable insights. Once I finish developing the current issue, I'll look into this task and see how we can integrate it effectively.

Issue #2336: Noted on this. It’s good to know about the storage check and the potential for using the existing keydown Eventlistener to avoid redundancy.

I am actively working on and reviewing the tasks. I will submit my pull request next week after my university exams are finished.

ImprovedTube commented 5 months ago

hi @gabrielhsdev

Once I finish developing the current issue

...i think it is motivating to connect some dots - hopefully not to overwhelm or ask too much.

let me and us know everything you might have to share sooner or later!

( labeling as important/critical because of your wonderful participation & motivation.) 😀

gabrielhsdev commented 5 months ago

@ImprovedTube I just got free from university as I'm now on vacation. This means I will have some more time to develop and focus on our project. Looking forward to contributing more and catching up on any pending tasks.

Thanks :)

ImprovedTube commented 4 months ago

hi! @gabrielhsdev looking forward