Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 second skip animation not visible #2066

Closed
xeophyte opened this issue Mar 4, 2024 · 7 comments
Closed

5 second skip animation not visible #2066

xeophyte opened this issue Mar 4, 2024 · 7 comments
Assignees
Labels
Bug Bug or required update after YouTube changes

Comments

@xeophyte
Copy link

xeophyte commented Mar 4, 2024

BUG: 5 second skip animation not visible
HOW: Open YT video and press arrow key to skip.
⚬ ImprovedTube Version: 4.704

/ ⚬ Context: "Hide 5 second skip animation" disabled
/ ⚬ Expected /preferred behavior: 5 second skip animation visible
⚬ Browser: Vivaldi | 6.6.3265.3
⚬ Settings:
improvedtube.json

@xeophyte xeophyte added Bug Bug or required update after YouTube changes help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Mar 4, 2024
@raszpl
Copy link
Contributor

raszpl commented Mar 5, 2024

I didnt even notice any animations before, you mean those two circles?
They were showing for me at the start, "Hide 5 second skip animation" seems to have disabled them, turning off "Hide 5 second skip animation" doesnt bring it back.
There is just one little problem. "Hide 5 second skip animation" doesnt look like its implemented at all, it doesnt do anything:
https://github.com/search?q=repo%3Acode-charity%2Fyoutube+player_hide_skip_overlay&type=code

well, it doesnt do anything directly, it was hiding here

html[it-player-hide-skip-overlay=true] .ytp-doubletap-ui, .ytp-doubletap-ui-legacy
{
visibility: hidden;
}

@xeophyte
Copy link
Author

xeophyte commented Mar 5, 2024

image

@raszpl
Copy link
Contributor

raszpl commented Mar 5, 2024

Yes I found it in the end, patch fixing the issue is already in a pull request ready to be merged.
To fix it in the mean time open improvetube menu, right click on it and pick Inspect, to go console and execute
satus.storage.remove("player_hide_skip_overlay")

@raszpl raszpl removed help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Mar 5, 2024
@raszpl raszpl self-assigned this Mar 5, 2024
@ImprovedTube
Copy link
Member

well, it doesn't do anything directly, it was hiding here

we can sync and or document the naming convention.

@raszpl
Copy link
Contributor

raszpl commented May 16, 2024

well, it doesn't do anything directly, it was hiding here

we can sync and or document the naming convention.

some way of marking options that are used by CSS is a good idea. would make #2197 easier without manually building a list of what to inject into
something like a config_variable_name_css postfix?

@ImprovedTube
Copy link
Member

hi! @raszpl

https://github.com/search?q=repo%3Acode-charity%2Fyoutube+player_hide_skip_overlay&type=code

just meant to answer, that the JS names could avoid _'s, so that the CSS name could also appear then when you search 😅


didn't mean to abandon #2197. At least was going to edit it later. Even if disabling the whitelist, thats easy than rewriting the rest. And that would keep the correct author in the commit history.

@raszpl
Copy link
Contributor

raszpl commented May 18, 2024

just meant to answer, that the JS names could avoid _'s, so that the CSS name could also appear then when you search 😅

there is already precedence to using_

for (var name in this.storage) {
if (name.indexOf('shortcut_') === 0) {
if (this.isset(this.storage[name]) && this.storage[name] !== false) {
try {
var key = 'shortcut' + (name.replace(/_?shortcut_?/g, '').replace(/\_/g, '-')).split('-').map(function (element, index) {
return element[0].toUpperCase() + element.slice(1);
}).join('');
storage[key] = this.storage[name];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug or required update after YouTube changes
Projects
None yet
Development

No branches or pull requests

3 participants