FreeTubeApp / FreeTube

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

[Feature Request]: Shaka Player - Picture in Picture Keep Open When Navigating #5701

Closed o-data closed 2 months ago

o-data commented 2 months ago

Guidelines

Problem Description

v0.21.3-nightly-4754 Beta

With the new Shaka Player, while using Picture in Picture (PiP), the moment you navigate away from video it will auto close. This restrict user from 'multi-tasking', for example: finding more video to watch, browsing video and subscription, changing Freetube setting, etc from being possible.

We now must use a new Window/Instant if we still want to watch video while multi tasking.

Proposed Solution

Picture in Picture should follow old behavior (video.js / pre-Shaka Player), we can still watch video while freely using Freetube.

Alternatives Considered

Not sure what would be Alternative proposal here. My brain not big enough. Perhaps this Feature is not possible with Shaka Player.

Issue Labels

ease of use improvement, improvement to existing feature, new feature

Additional Information

No response

absidue commented 2 months ago

The old behaviour was a bug, the PiP window was never meant to outlast the watch page, because the only time FreeTube knows that you are watching a video is when you are on the watch page, which also lead to bugs like the watch history not getting saved, SponsorBlock segments not getting skipped and different videos playing in the PiP window vs the main window, with no way to get back to the watch page of the original video.

o-data commented 1 month ago

Thank you for the clarification. That too bad it was considered an old bug.

absidue commented 1 month ago

It is a bug because it was broken and broke other things such as the watch history saving. It was never meant to be that broken in the first place. It's like being unhappy that your car doesn't go as fast down hills anymore because the mechanic fixed the breaks.

o-data commented 1 month ago

Not reporting it as a bug though. It was a feature request.