-
Bug
-
Resolution: Done
-
Major
-
3.9.3
-
-
MOODLE_39_STABLE
-
MOODLE_404_STABLE
-
Moodle Apps - 2024 i1.3
Moodle themes aren't applied in the app, so this new feature in 3.10 doesn't work in the app.
Even if they implement a site plugin for the app to return some styles it won't work because the h5p runs in an iframe that doesn't have those styles loaded.
It would be ideal if the h5p package could contain those styles, or if the WS to obtain the trusted h5p package could return those styles, but we discussed this with the LMS team and it seems hard to do, specially because the theme can depend on the context and the app downloads the same package for all contexts.
A possible workaround could be to allow site plugins to specify some styles to be applied to h5p iframes, and we could probably let them filter by courseid or userid to decide if they should be applied. The main con is that it required more work for theme developers.
- has a non-specific relationship to
-
MDL-69087 Add the option to personalize H5P styles
-
- Closed
-
-
MDL-72778 Personalize H5P styles/javascript by 'local' plugin callback
-
- Development in progress
-
-
MDL-77049 Customise H5P styles via Raw SCSS theme setting
-
- Closed
-
- will be (partly) resolved by
-
MDL-79802 Add a new setting for adding custom H5P styles
-
- Closed
-