We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddf505d commit 269f3a8Copy full SHA for 269f3a8
packages/hashi/src/H5P/H5PRunner.js
@@ -137,9 +137,10 @@ export default class H5PRunner {
137
// and for logging xAPI statements about the content.
138
this.contentNamespace = CONTENT_ID;
139
const start = performance.now();
140
+ const largeFileUrlGenerator = filePath => `${this.zipcontentUrl}/${filePath}`;
141
// First load the full H5P file
142
// Store the zip locally for later reference
- this.zip = new ZipFile(this.filepath);
143
+ this.zip = new ZipFile(this.filepath, { largeFileUrlGenerator });
144
// Recurse all the package dependencies
145
return this.recurseDependencies('h5p.json', true).then(() => {
146
// Once we have found all the dependencies, we call this
0 commit comments