How to enable picture in picture on a tab change

Instead of the user manually pressing the PiP button is it possible to automatically turn on Picture In Picture when they switch tabs instead with Prebuilt

Tagged:

Best Answer

  • marco
    marco Moderator, Dailynista admin
    Answer ✓

    Hi @reeceatkinson — It's possible to detect whether or not a tab/window is active, so I think what's missing today from daily-js to be able to achieve that behavior would be a method to trigger PiP. Right now, it can only be triggered via the button in Daily Prebuilt.

    I'll submit this as a feature request!

Answers