I need to make jitsi video to PictureInPicture mode. How can i do this?

I’m using jitsi by API. How can i get approach to tag video inside of iframe.

const iframe = document.querySelector(‘iframe’);
const innerDoc = iframe.contentWindow.document;

I used this code, and i’ve got an error:
DOMException: Blocked a frame with origin “my site link” from accessing a cross-origin frame.

It’s protection from browser and you can nit manipulate any element inside iframe.
If you host your Jitsi you can post message to sever for element manipulation.

Checkout this one

Thanks for response. You saved my time. Have a good day!