How to enable picture in picture on a tab change

reeceatkinson
Member
in Q&A
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:
2
Best 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!
0
Answers
-
Thanks @marco
0