You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to use this library if we can't pull and unzip the h5p bundle every time and instead we store unzipped data directly in some blob storage (like GCS) and provide url to that directory?
The text was updated successfully, but these errors were encountered:
H5P player loads the content files in the browser (client-side). If you were to point to .h5p file, which is a zip file, the browser wouldn't be able to access the files inside it. AFAIK you need to host the content files in GCS.
From my theoretical standpoint, it is technically plausible.
One approach you can try is using web workers to intercept all H5P requests. The web worker would have to do all the good stuff like unzipping/reading any requested file.
An H5P zipped file includes the instructions on what (content type) and how to display the content (h5p.json & library definitions). Thus, an H5P player acts as an execution engine and a glue to tie everything together.
If you're concerned about storage space, I would recommend storing all H5P libraries in a single location (to avoid duplicates). Most H5P libraries are versioned, so they are easily reused by different content types.
Is there any way to use this library if we can't pull and unzip the h5p bundle every time and instead we store unzipped data directly in some blob storage (like GCS) and provide url to that directory?
The text was updated successfully, but these errors were encountered: