Label video and audio players on the page, including oEmbed video

Problem/motivation

Until a rendition exists (#66 (closed)), and for remote video that Drupal cannot re-render (YouTube or Vimeo through oEmbed), the page is the only place for the label. For audio deep fakes the Code also wants the icon when a screen is available, next to the audible disclaimer (Measure 1.2.2(e)).

Proposed resolution

  • Video file and oEmbed video: the icon top-right over the player, visible from the first frame, never over the controls. For files it stays until the labelled rendition (#67 (closed)) is served.
  • Audio: the icon and the disclosure sentence next to the player, always visible.
  • The same visibility rules as images (#61 (closed)): always for a required label, the formatter setting for other AI grades, and next to the player for evidently artistic works.
  • Reuse the wrapper and CSS from #61 (closed).
  • Docs: for oEmbed video, also set the label on the platform, such as the YouTube setting for altered or synthetic content.

Remaining tasks

  • Video and oEmbed overlay
  • Audio player label
  • FunctionalJavascript tests
  • Docs

User interface changes

An EU icon on video and audio players.

API changes

None.

Data model changes

None.

Part of #56 (closed).

Edited by Giorgio Alfredo Pagano