MarmadileManteater / FreeTubeAndroid

A soft fork of FreeTube which brings it to Android (formerly FreeTubeCordova)
GNU Affero General Public License v3.0
263 stars 5 forks source link

[Bug]: Videos pause when screen turns off #404

Open PunkUnity opened 1 month ago

PunkUnity commented 1 month ago

Guidelines

Problem Description

Videos stop playing once I go to another app or turn the screen off.

Proposed Solution

Make it so video keeps playing in background whether screen is off or another app is in foreground.

Alternatives Considered

Other solutions might include playing in a floating window, but that wouldn't help playing while screen is off. PipePipe and Newpipe have this working. Somehow having the video stream not stop regardless

Issue Labels

new feature

Additional Information

No response

MarmadileManteater commented 1 month ago

This is a bug. The webview should ignore app visibility changes after it is first shown. What OS version are you using?

PunkUnity commented 1 month ago

Android 14 with July security update. GrapheneOS ROM on Pixel 6 Pro. My bad if its a bug. Just can't get it to continue playing, as I stated in the "feature request"

MarmadileManteater commented 1 month ago

When you press play on the media controls notification when the screen is locked, does it play?