-
Notifications
You must be signed in to change notification settings - Fork 52
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
ADD ff2mpv button to Youtube Player controls #76
Comments
Thanks for the request. Could you describe how we'd implement this in the extension? Does it involve injecting detecting whether the page is YouTube and then injecting (more) JS into it? |
(Also, note that the extension currently binds |
I only use a mouse for my "TV" computer, so a keyboard shortcut does not work |
yes, commonly userscripts and plugins just inject those buttons into youtube controls if the site matches youtube.com. https://github.com/ajayyy/SponsorBlock would be an example of such a plugin |
Hmm. I'm not opposed to this feature per se, but I'd like to see some more buy-in from other active users of ff2mpv (since it's not a feature that I'm likely to use). So I'll leave this open for a while and let people submit their opinions. (A separate concern: I can see this being an arms race where we're always catching up to YouTube's frontend changes. I'd strongly prefer to avoid any changes that put us in that position, so this would have to be done in a way that avoids the need for constant new releases of ff2mpv.) |
@woodruffw I think this is like "cat and mouse" game, so we need to kept updating it, that means we will often update with minor version when this is broken. Will it be okay? I'm okay to opening PR for this, but I will only open if it breaks, and I also not everyday accessing the youtube. Invidious is better and just right click the link open in MPV. I also have this kind of implementation on Google Drive sidebar to hide and show the sidebar, where I do frequently update the injected script (it's on greasyfork). |
If you're willing to be the feature owner for these changes, then I'd happily accept a PR for this functionality. I'll probably end up pinging you if/when users report problems with it 🙂 |
youtube doesn't scramble their generated class names each update like gcal and others |
Is your feature request related to a problem? Please describe.
ff2mpv currently takes up room in Firefox's Toolbar, but I only use it in Youtube
Describe the solution you'd like
Youtube player controls would have a ff2mpv button in them
Describe alternatives you've considered
tolerating it
Additional context
The text was updated successfully, but these errors were encountered: