Skip to content

Latest commit

 

History

History
106 lines (85 loc) · 7.5 KB

privacy.md

File metadata and controls

106 lines (85 loc) · 7.5 KB

Privacy and data protection

What the player stores, what it sends and to whom, for the privacy notice of a site that runs it and for a GDPR, security or vendor review. It describes the player; your site, your package host and the content you play have their own answers. This is not legal advice.

In short

  • No account, no cookies, no telemetry. The player itself contacts no service of ours or of H5P Group's. By default it fetches the libraries a package needs from jsDelivr, unless you serve the pack yourself.
  • Nothing it stores leaves the learner's browser. It stores no xAPI statements and no results.
  • Results reach your page as xapi events. Where they go from there is your decision.
  • Self-hosted, the only processor in the learner's path is your own hosting. That stays true if you use @missing-elements/h5p-embed on a player domain you run. It is not true for a public service in the learner's path.

What is stored, on the learner's device

All of it lives in the browser's storage for the origin that serves the player. On the Embed setup, that is your player domain, kept separately for each site that frames it.

What Where Contains Personal?
Extracted package files Cache API, h5p-pkg-v<major>-* The package's own files No, unless the package contains personal data
Package list IndexedDB h5p-player, table packages Each package's URL or picked file name, title, metadata, language tag, display options, last played time Shows which content was played on this device
Saved state IndexedDB h5p-player-userdata Only with resume (or resume="device"): the content's own state, such as the slide reached, the answers given and the position in a video, with the time it was saved Yes: a learner's answers

The learner's name and email, if you set the user property, are not stored. They go into each statement and nowhere else.

Any package played trusted on the same origin can read all three. With resume on, or with trusted packages you did not make, that is a reason to use the Embed setup on a domain of its own; see Which setup. A package played untrusted, the default, runs none of its own code, which is what could read them.

What is sent, and to whom

Request Goes to When
The package The host in src Every load from a URL. A picked file is not sent anywhere
The player and runtime files Your site, or a CDN if assets-base names one (jsDelivr in the setup's example) Every load
Library pack cdn.jsdelivr.net for pack, unless pack-base or the pack property names your own copy By default, every library a package needs; with trusted and libraries="pack", those a package lacks and those the pack has newer versions of than the package carries. Once each per device. The requests show which libraries, so which content types, are played. Serve the pack from your own domain to keep this on your hosting
Library bundle The .h5p URL in libraries A package without its own libraries, once per bundle
MathJax cdn.jsdelivr.net or cdnjs.cloudflare.com Only a package played trusted that carries an old H5P.MathDisplay loading MathJax from a CDN. The pack's MathDisplay renders from its own folder, and sends nothing
Web fonts ajax.googleapis.com, fonts.googleapis.com, fonts.gstatic.com (Google) Only content types that load Google Fonts. Google's WebFont loader, on ajax.googleapis.com, loads only for a package played trusted
Video players YouTube, Vimeo, Panopto, Echo360 Only content that embeds them. These set their own cookies
Timeline media *.wikipedia.org, vimeo.com, soundcloud.com, api.flickr.com Only Timeline content with a slide that names media from them
Speech recognition The browser's own service (Google, in Chrome) Only content types that use speech input

Every one of these requests carries the learner's IP address to its host. The last five rows depend on the content, not on the player: the frame's CSP allows those hosts so that the content types work, and blocks any other script, style or font source. Images, media and embedded frames may come from anywhere the content names, whether the package plays untrusted or not. List what your packages actually use in your privacy notice. A German court has held that loading Google Fonts from Google's servers without consent breaches the GDPR (LG München I, 3 O 17493/20, 2022).

xAPI statements

The element emits each statement as an xapi event and keeps nothing.

  • Without the user property, the actor is H5P's anonymous one. With it, the statement carries the name and email you set.
  • context.revision identifies the package build, and context.platform the player version. Neither identifies the learner.
  • On the Embed setup, statements reach your page only when the address names your page's origin in xapi=, and are posted to that origin alone. The page also tells whatever page frames it when the package is ready, with the package's source, metadata, library bundle and load time, and when it fails; neither message carries anything about the learner.
  • With @missing-elements/h5p-cmi5, statements go to the LMS's LRS, under the launch's learner and registration. The launch token stays in memory unless you choose storage.
  • In a SCORM package written by h5p-embed --scorm, no statement leaves the page. The LMS gets, under its own record of the learner, the score out of 100, passed, failed or completed, the time spent, each question's result in cmi.interactions (with the answer given: in SCORM 1.2 only a typed answer, cut at 255 characters; in 2004 every question's, cut at 4,000), and the content's saved state in cmi.suspend_data, which holds the answers given so far. That state is kept in the LMS, not on the device.

Answering a data subject request

There is no server-side table to search. What the player holds is on the learner's device:

  • Access or export: the saved state can be read from the browser's IndexedDB on that device. Under resume="host", it is in your own system, as you stored it from userdata events.
  • Erasure: clearUserData() removes the saved state for the package loaded now. Clearing the site's data in the browser removes all three stores. On the Embed setup, that is the player domain's data.
  • Rectification: the saved state is the content's own; starting the content over replaces it.

Results, xAPI statements and anything stored under resume="host" are wherever your page sent them: your backend, an LRS, an LMS. Those systems answer the request for that data.

H5P's own GDPR guide, side by side

H5P Group's guide for its plugins assumes a server.

H5P plugin This player
Results in a server table (h5p_results, hvp_xapi_results) Not stored. xapi events to your page
Saved state in a server table (h5p_contents_user_data) Off by default. On the device with resume, or in your system with resume="host"
xAPI with the user's name and an identifier Only if you set user
Anonymous usage statistics sent to h5p.org None
YouTube, Twitter and speech recognition The same; they come with the content
Hub, CDNs and fonts (not covered there) In the table above