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

Add option to always open a redirected video in a new FreeTube window / instance #1501

Closed
vocux opened this issue Jul 6, 2021 · 10 comments · Fixed by #6242
Closed

Add option to always open a redirected video in a new FreeTube window / instance #1501

vocux opened this issue Jul 6, 2021 · 10 comments · Fixed by #6242
Labels
enhancement New feature or request

Comments

@vocux
Copy link

vocux commented Jul 6, 2021

Is your feature request related to a usage problem (not a bug)? Please describe.
Currently, when I click on a YouTube link in Firefox while another video is currently playing in FreeTube, the current video stops and FreeTube opens the new link in the one FreeTube instance / video currently open. I'm using the Privacy Redirect extension.

Describe the solution you'd like to see implemented
Give an option to always open redirects in a second window / instance (and not autostart the second video). This would resemble the behavior of a browser, because clicking a YouTube link while another video is playing in your browser would typically open a second tab instead of stopping a currently running YouTube video. At least that's the behavior I'm used to.

Describe alternatives you've considered
I discovered that a second window can be opened manually by clicking on a video link within FreeTube (video suggestions on the right hand side, etc.) with a middle mouse click. When I watch my videos on this "second" instance, redirects from the browser don't interrupt the video. But this is rather complicated for everyday use.

@vocux vocux added the enhancement New feature or request label Jul 6, 2021
@vocux vocux changed the title Add option to always open a redirected video in a new window / instance Add option to always open a redirected video to a new FreeTube window / instance Jul 6, 2021
@vocux vocux changed the title Add option to always open a redirected video to a new FreeTube window / instance Add option to always open a redirected video in a new FreeTube window / instance Jul 6, 2021
@efb4f5ff-1298-471a-8973-3d47447115dc

I guess its somewhat related to #333

@GilgusMaximus
Copy link
Contributor

It is in connection to that, but with the current window system this can also be done.

@JonnyHaystack
Copy link

Would love to see this. It's the main thing stopping me from exclusively using FreeTube, because I will always have some video/playlist half watched, but then if I open some link in my browser it closes what I had open previously which is annoying.

@vallamost
Copy link

Any updates on adding this to the roadmap?

@arpuusi
Copy link

arpuusi commented Oct 29, 2023

Would love to see this. It's the main thing stopping me from exclusively using FreeTube, because I will always have some video/playlist half watched, but then if I open some link in my browser it closes what I had open previously which is annoying.

For me too this is a massive problem, as I browse my yt feed in firefox at youtube.com, and only redirect videolinks to Freetube. It makes it unusable. It doesn't even open the redirects to the last active freetune window, so that you could manually open new window for the redirect. Doh!

@arpuusi
Copy link

arpuusi commented Dec 6, 2023

Just to add, if we can't get the requested feature, it would also help some if there was even an easy way to open the current freetube window to a new freetube window, so at least it would be possible to manually open the redirected #1 to a new window within Freetube, so the next redirect would replace the previously redirected video window, but you could keep the one opened manually to a new window, which you would want to keep playing. As it is for now, you need to first click "share", then "copy link", then "open new window" then paste the copied link to the search/url text box and then hit enter. AND THEN you manage to open another redirect to not replace the one before since the one before is opened a new window to be safe from replacing. This is something I really don't get. I would LOVE to use Freetube, but as the redirects always replace the previous redirect, it is very very unconvenient.

@arpuusi
Copy link

arpuusi commented Dec 13, 2023

To share my workaround for the time being for other's who might come across this issue. Somewhat working solution for me appears to be Autohotkey + Click Copy Link -extension for Firefox (Win 10). The FF extension enables to copy link on mouse hover with ctrl-c, and Autohotkey launches or brings front Freetube, sends ctrl-n for new window, alt-d to focus on text input box, pastes the clipboard and hits enter.
So, when in firefox I hover my mouse cursor over a youtube-link and hit Ctril-Alt-Shift-Z the link gets opened in a new freetube window.

^+!z::
SendInput ^c
Sleep 50
Run, "(the path for your freetube installation)\FreeTube.exe"
Sleep 200
SendInput ^{n}
Sleep 1000
SendInput !{d}
Sleep 100
SendInput %Clipboard%
Sleep 100
SendInput {enter}
return

I'm not an expert and that's just my first revision that seemed to work. It just seems the new window doesn't always open fast enough for that 1000ms sleep to be enough, system dependant for sure.. Also sometimes the new window opens but doesn't contain anything, no ui, nothing. No matter how many times you open new window from the specific freetube instance/window, it only opens blank new window. You then need to choose another freetube instance/window and there open new window and it works. After that it works again in the specific window it didn't work.

@pakoito
Copy link

pakoito commented Aug 20, 2024

I have added a draft PR for this feature. Sadly, yarn is failing to pull several dependencies and I have not been able to test it.

It took me ~90m without knowing a lot about the codebase, so I believe if any maintainers paid it attention it could be completed in another hour or so.

@petzki
Copy link

petzki commented Aug 29, 2024

I hope it will be in the next version. I couldn't believe that this option didn't already exist, I scanned through the settings multiple times. It seems like a no-brainer to have.

@WinterAlexander
Copy link

I'd like to show support for this feature as well, as a daily user not having this is quite inconvenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
9 participants