build(deps): bump @missing-elements/h5p-offline-player from 1.5.1 to 1.6.0

Merged
DE
10h ago
+18-3

Bumps @missing-elements/h5p-offline-player from 1.5.1 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.css is 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.svg is the mark. A page follows the system's scheme, or pins one with data-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.css beside 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-verify 1.5.0

The 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.0 and copy its dist/h5p-sw.js again: 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@latest takes 1.5.0.

Full Changelog: https://github.com/missing-elements/h5p-offline-player/compare/author-v0.6.0...v1.6.0

Commits
  • 950f152 chore: update version numbers and enhance documentation for player and verify...
  • 2e0e3ae feat: one design for the pages around the player, shipped as page.css
  • See full diff in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.5.1 to 1.6.0. The element and its workers are unchanged; 1.6.0 only ships the demo's page design as a new page.css stylesheet, so existing usage requires no changes.