How to implement Picture in Picture in ionic 7

How to implement Picture in Picture in ionic 7 for android and IOS