Repository navigation
H5P Preview 0.5.0
H5P Preview by Missing Elements 0.5.0, with player 1.6.0 and library pack 1.1.0 inside.
Install it from the Visual Studio Marketplace, or search for "H5P Preview" in VS Code's Extensions view. Cursor and VSCodium install it from Open VSX. h5p-preview-0.5.0.vsix below also installs with Extensions: Install from VSIX…. VS Code updates an installed 0.4.x by itself.
The page follows VS Code's theme
The page around the player takes the look of the player's demo site and of h5p-verify's preview: their colours, and the player's box while a package loads. It follows VS Code's theme, light or dark, with a high-contrast theme taken as the one it is built on. It changes with the theme while a package plays, without reloading it, so the learner keeps their place. The bar above keeps VS Code's own colours.
A package with an empty file plays
The player inside 0.4.0 answered every empty file in a package with an error. A library that loads an empty script failed to load, so its package did not play, and an empty picture or language file was missing. An empty file is now served as one (v1.5.1). A package that lacks libraries also names each missing one once.
Library pack 1.1.0
The pack now also carries what an H5P site's upload check wants. A preview never reads those libraries, so the extension leaves them out: the libraries it plays are the same as in 0.4.0, byte for byte.
The .vsix attached is the one on Open VSX and on the Marketplace, built from 950f152 by the publish workflow (run 42740693128). SHA-256: 6fd88fc85b9590542a39d629a441ea5312cf21de61bf230951a57516017ac872.