This particularly applies when adding a Kaltura instance in a 'label' using the editor plugin.
The filter converts the link to an iframe with a (fixed) width of 900px
However, this causes the iframe to "bleed out" of the div container on smaller screens. Especially on Moodle 4+ which has quite a narrow width for content in many course formats.
Simply changing this to 100% seems to sort it.
I've had a look but can't see where 900px comes from in the code. I'm assuming it's returned in the API.
This particularly applies when adding a Kaltura instance in a 'label' using the editor plugin.
The filter converts the link to an iframe with a (fixed) width of 900px
However, this causes the iframe to "bleed out" of the div container on smaller screens. Especially on Moodle 4+ which has quite a narrow width for content in many course formats.
Simply changing this to 100% seems to sort it.
I've had a look but can't see where 900px comes from in the code. I'm assuming it's returned in the API.