build(deps): Bump @missing-elements/h5p-offline-player from 1.4.0 to 1.6.0
Bumps @missing-elements/h5p-offline-player from 1.4.0 to 1.6.0.
Release notes
Sourced from @missing-elements/h5p-offline-player's releases.
v1.6.0
Player 1.6.0 ships the demo's page design as a stylesheet, so the pages around the player look alike, and h5p-verify 1.5.0's preview is drawn with it (#170, #171). Nothing in the element or its workers changed.
The player 1.6.0:
page.css
@missing-elements/h5p-offline-player/page.cssis the demo's page design: its colours for light and dark, the bar with the mark, buttons, the status strip and the player's box while it loads.dist/mark.svgis the mark. A page follows the system's scheme, or pins one withdata-theme="light"or"dark"on<html>. It is plain CSS, and nothing in it reaches into the element.import '@missing-elements/h5p-offline-player/page.css'Without a bundler, copy
dist/page.cssbeside your page and link it: it names no other file. docs/setup.md has the details. The demo imports it as well, and draws exactly as before.
@missing-elements/h5p-verify1.5.0The preview,
h5p-verify --preview, is drawn in the same design:
- a bar with the mark, and the package's name as its heading;
- Download as a button;
- a theme switch that follows the system or pins light or dark, the same in every tab of the preview;
- a status strip with the state, the message, and a timer that stops at ready. Screen readers hear the message, not the timer.
It takes player 1.6.0 or later.
H5P Preview 0.5.0
The VS Code extension draws its page with the same file and follows VS Code's theme. It also carries player 1.6.0 and pack 1.1.0, so 1.5.1's empty-file fix reaches it. Its own release, h5p-preview-v0.5.0, has the details.
Not released
Embed 1.7.0 and h5p-author 0.6.0 pin player 1.5.1, whose element and workers are the same as 1.6.0's. The runtime, the library pack, normalize and cmi5 did not change.
Upgrading
- A site that plays packages needs to change nothing. To move to 1.6.0 on a CDN, change the player's URL to
@missing-elements/h5p-offline-player@1.6.0and copy itsdist/h5p-sw.jsagain: the worker carries the version, and the element warns when the two differ. The runtime's URL stays at 1.0.1.- h5p-verify:
npx @missing-elements/h5p-verify@latesttakes 1.5.0.Full Changelog: https://github.com/missing-elements/h5p-offline-player/compare/author-v0.6.0...v1.6.0
v1.5.1
@missing-elements/h5p-offline-player1.5.1 fixes two bugs found by playing 88 real packages through 1.5.0, and@missing-elements/h5p-embed1.6.2 writes sites and SCORM packages with it. The library pack stays at 1.1.0 and the runtime at 1.0.1.An empty file in a package is served
The player answered every empty file in a package with a 500. The browser's cache gives an empty response back with no body at all, and the Service Worker took that for a file it could not read. A library that loads an empty script therefore failed to load it, and its package did not play at all. An empty file is now served as an empty
200, whatever range was asked for.Every earlier release has this bug. Of the 88 packages, two carry empty files: three empty images in one, an empty language file in the other.
A missing library is named once
... (truncated)
Commits
950f152chore: update version numbers and enhance documentation for player and verify...2e0e3aefeat: one design for the pages around the player, shipped as page.css4e75b68feat: update player version to 1.5.1 and add support for empty files in virtu...2564304chore: update package versions and improve setup documentationa82e4a8Merge pull request #153 from missing-elements/feat/keep-index-blocks42c8b72feat(player): keep the blocks an index was read from with the package19a1a98fix(player): send a download's progress once its forward index is stored1388d5ffix(player): warm and refresh only the libraries a package playsfada487feat(libraries): carry what an H5P site's upload check wants, and have h5p-au...844a8f0chore: bump player to 1.4.1 and embed to 1.5.1- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates @missing-elements/h5p-offline-player from 1.4.0 to 1.6.0. The bump fixes a bug where empty files in a package returned a 500 and blocked playback, and adds a new page.css stylesheet for a consistent page design. The player element and its workers are unchanged.