kesmitopiwala / pip_flutter

MIT License
14 stars 32 forks source link

PIP Video pauses automatically when app is backgrounded #7

Open SethuSenthil opened 1 year ago

SethuSenthil commented 1 year ago

It would be nice to have the option to control this behavior. For example, when backgrounding the YouTube app the video smoothly continues to play without hiccups. However, this plugin stops playback and requires user input to start playing again.

SethuSenthil commented 1 year ago

After doing some digging into the source code there actually is a flag, setting the "handleLifecycle: false" will enable the described behavior. However, it isn't as clearly documented