Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kaltura iframe fixed at 900px #404

Open
thepurpleblob opened this issue Jul 5, 2023 · 0 comments
Open

kaltura iframe fixed at 900px #404

thepurpleblob opened this issue Jul 5, 2023 · 0 comments

Comments

@thepurpleblob
Copy link

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
Screenshot 2023-07-05 at 09 40 23

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant