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

library/js/h5p-resizer.js URL is not updated on backup and restore #498

Open
benfes opened this issue May 16, 2023 · 0 comments · May be fixed by #499
Open

library/js/h5p-resizer.js URL is not updated on backup and restore #498

benfes opened this issue May 16, 2023 · 0 comments · May be fixed by #499

Comments

@benfes
Copy link

benfes commented May 16, 2023

If you use the embed code to embed the iframe code into another activity with a course the embed HTML references two URLs, one for the embed.php file - the URL for this is updated on the backup and restore, and another to h5p-resizer.js - however the resizer scripts URL is not updated. So if you do a backup and then restore to another moodle instance then the URL for the resizer script still references the original courses domain. This is fine if you're restoring a course on the same site, but if you're decommissioning one site and setting up another then the h5p-resizer script will never be served.

@benfes benfes linked a pull request May 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant