FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.69k stars 867 forks source link

[Feature Request]: Allow only one window instance to play instance #5151

Open stdedos opened 6 months ago

stdedos commented 6 months ago

Guidelines

Problem Description

When having multiple windows (/ tabs https://github.com/FreeTubeApp/FreeTube/issues/333), it probably makes sense if only one played at most times

Proposed Solution

Same feature as https://www.mrfdev.com/enhancer-for-youtube

image

Alternatives Considered

:upside_down_face:

Issue Labels

ease of use improvement

Additional Information

https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aissue+allow+only+one+instance+to+play

efb4f5ff-1298-471a-8973-3d47447115dc commented 6 months ago

Is this your usecase

"When I already have a video playing in window 1 and start playing a video in window 2, i want window 1 to get paused".

stdedos commented 6 months ago

... or tabs "eventually", yes

toby63 commented 6 months ago

If implemented, only as an option please.

I think the scenario @efb4f5ff-1298-471a-8973-3d47447115dc outlined is something that people actually want. They want to play multiple videos, for example listening to music while playing an completely unrelated video (e.g. educational, work, scenery etc.).