Width and Height percentages not working Iframe API

I’m trying to make the meet embed resize when the window size changes and I used the % but they don’t resize is there another way or is it just not working?

$(document).ready(function () {
var domain = “meet.jit.si”;
var options = {
roomName: “@ViewBag.id”,
width: ‘100%’,
height: ‘100%’,
configOverwrite: { disableDeepLinking: true, disableInviteFunctions: true},
parentNode: document.querySelector(’#meet’)
}
var api = new JitsiMeetExternalAPI(domain, options);
});

Do you have any CSS for the #meet selector?

Thanks for answering I had forgotten, but I managed to fix the problem that was in the css I wrote in body fixed so it did not allow rescaling.
Thanks anyway for responding.

1 Like