Repository navigation
YouTube: option to pause when leaving the screen - #843
Merged
AndreyPavlenko merged 2 commits intoNov 10, 2026
Merged
Conversation
Owner
|
Please resolve the merge conflicts. |
Resuming a YouTube video from the media notification or Android Auto's card while Fermata is in the background makes the page report a new item, and Fermata entered full screen for it. That hides the WebView while the full screen view can't be shown, so the browser paused the video again and only a second play kept it going. Enter full screen automatically only while the fragment is resumed.
Fermata pauses a YouTube video when it leaves the screen and resumes it when it's back, except in Fermata Auto, which keeps playing in the background. Make this an option, defaulting to the current behaviour of each build, so it can be turned on in Fermata Auto or off elsewhere.
giunatale
force-pushed
the
feat/youtube-pause-on-leave
branch
from
November 8, 2026 15:47
5c7ab68 to
6598eb8
Compare
Contributor
Author
|
Rebased on master and resolved the conflict with #840: both settings are kept, YouTube's controls first, then pause when leaving. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fermata (mobile) pauses a YouTube video when it leaves the screen and resumes it on return, while Fermata Auto keeps playing in the background. This makes it a setting, and fixes resuming such a video from outside Fermata. Two commits:
Whether YouTube itself keeps a hidden page playing can depend on the account, since background play is a YouTube Premium feature on the mobile site. Tested with Premium.
Tested in Fermata Auto on a OnePlus 12 (Android 16): with the option on, leaving pauses and coming back resumes; with it off, background play as before. Resuming from the card while off screen now plays on the first press. The mobile flavour wasn't tested on a device; its default behaviour is unchanged.