h5p-view

A bash script implementing https://github.com/tunapanda/h5p-standalone to view/play H5P files

View the Project on GitHub justineuro/h5p-view

(Before using this bash script, note that a convenient way to view H5Ps is probably by using a free H5P viewer/editor app such as Lumi.)

h5p-view

h5p-view is a bash script that processes (through a Linux command line), for viewing/playing, H5P zipped files by implementing h5p-standalone.
This bash script

(The h5p-view script may start the server as php -S 0.0.0.0:8000 or python -m http.server. A versioned python or php interpreter may also be used, e.g., php8.4 -S 0.0.0.0:8000, python3.12 -m http.server.)

Instructions on use

To use,

For example, to view/play the H5P Quiz (Question Set) example from the Examples and Downloads page at https://h5p.org and use python -m http.server to start the server:

./h5p-view -f question-set-616.h5p -s python

The H5P can now be viewed/played at http://0.0.0.0:8000. Use Ctrl-C to stop the server; the script consequently removes the temporary files in the /tmp/h5ptemp folder.

Contents of this repository

This folder includes (among others):

MathJax use

MathJax version 4 is used to render the TeX/LaTeX codes included in the H5Ps in this repositoty.

Creative Commons License
h5p-view by Justine Leon A. Uro is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at https://github.com/justineuro/h5p-view.