Skip to content

Commit

Permalink
chore: upgrade h5p-standalone to 3.7.0 (#36)
Browse files Browse the repository at this point in the history
Upgrade h5p-standalone to `3.7.0` version.
Release notes: https://github.com/tunapanda/h5p-standalone/releases/tag/v3.7.0
Bug Fixes:
- CORS issue while fetch assets
- library not use assetsRequestFetchOptions
  • Loading branch information
igobranco authored Aug 20, 2024
1 parent 9d21920 commit eecac53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions h5pxblock/static/js/src/h5pxblock.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ function H5PPlayerXBlock(runtime, element, args) {
const options = {
h5pJsonPath: args.h5pJsonPath,
frameJs:
"https://cdn.jsdelivr.net/npm/h5p-standalone@3.6.0/dist/frame.bundle.js",
"https://cdn.jsdelivr.net/npm/h5p-standalone@3.7.0/dist/frame.bundle.js",
frameCss:
"https://cdn.jsdelivr.net/npm/h5p-standalone@3.6.0/dist/styles/h5p.css",
"https://cdn.jsdelivr.net/npm/h5p-standalone@3.7.0/dist/styles/h5p.css",
frame: args.frame,
copyright: args.copyright,
icon: args.icon,
Expand Down Expand Up @@ -118,7 +118,7 @@ function loadJS(callback) {
} else {
// Load jsMind dynamically using $.getScript
$.getScript(
"https://cdn.jsdelivr.net/npm/h5p-standalone@3.6.0/dist/main.bundle.js"
"https://cdn.jsdelivr.net/npm/h5p-standalone@3.7.0/dist/main.bundle.js"
)
.done(function () {
window.H5PStandalone = H5PStandalone;
Expand Down

0 comments on commit eecac53

Please sign in to comment.