raingart / Nova-YouTube-extension

Apache License 2.0
218 stars 11 forks source link

[Feature] Custom forward/rewind length #126

Open Coldblackice opened 12 months ago

Coldblackice commented 12 months ago

(Thanks for all your work on this phenomenal extension; it's a must-have for all things Youtube these days.)

Would it be possible to add customizing the length of Youtube's forward/rewind shortcuts, "j"/rewind + "l"/forward?

I see Nova's setting for "Time jump", but it appears it's only an extra shortcut for forward-jumping. It'd be awesome if we could customize the "j" and "k" skips to a custom length rather than the default 10-seconds.

Further useful, though not vital, would be adding a modifier shortcut for rewind/forward, e.g. holding "Shift" + j/k jumps a custom-defined time, e.g. 5/15/30/60/X seconds.

Eisys commented 12 months ago

In the meantime, I suggest you check out Global Speed

It is a very powerful video speed control addon. But you can also make all sorts of custom shortcuts to your liking, like you requested.

raingart commented 12 months ago

Thank you for your appreciation @Coldblackice. I'll think about implementing this function. I'm tired, literally every release I think that finally all the significant errors have been fixed. But every time my dreams are shattered, something is broken, something doesn’t work, or YouTube has changed something. God, why am I even doing this? But such messages make you think that maybe everything was not in vain.

"Time jump" plugin its original purpose is somewhat different. If there are chapters, "Time jump" allows you to move to the next chapter. For example, advertising. The start of an advertisement is very rarely marked. But often its end coincides with the beginning of the next chapter. Nova generally has a lot of pitfalls when working in conjunction with some plugins and even options. Perhaps someday I will make a description of their conflicts.

Here are powerful extensions https://chromewebstore.google.com/detail/tweaks-for-youtube/ogkoifddpkoabehfemkolflcjhklmkge alt: https://greasyfork.org/en/scripts/427369-speed-up-for-youtube https://greasyfork.org/en/scripts/421670-youtube-more-speeds https://greasyfork.org/en/scripts/470633-ytspeed

raingart commented 10 months ago

@Coldblackice I recently found out that there is default hotkey to chapters jump 【Ctrl + ← →】 - Ctrl + Arrows

time-jump plugin will be left because sometimes the descriptions of plugins and those marked in the player differ, or cannot be determined correctly

Regarding the function you requested, unfortunately I will probably refuse to implement it. https://greasyfork.org/en/scripts/427369-speed-up-for-youtube For testing, I modified this script to smoothly increase the speed, also increasing the max value. This is already implemented in many local players. It is convenient to see the current timeline. But YouTube buffers only part of the video, which cancels out the effect of smooth scrolling. And the result is the same “blind seek”.

If you are really satisfied with the principle of operation of the specified script, I will add my implementation to Nova. Maybe it's just inconvenient for me? If it weren't for buffering limit, it would be a good idea.