Skip to content

OpenGemeenten/AccessibleMediaPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenGemeenten Media Player

This is an accessible media player for websites based on MediaElement.js and the accessibility plugin for MediaElement.

Accessibility features

  • Keyboard support
  • Visible focus indicator
  • Clear labels
  • Sufficient contrast between colors for text, controls and backgrounds
  • Transcripts
  • Closed Captioning
  • Audio description
  • Sign language

Why some kind of fork of MediaElement?

Although the accessibility plugin is used, some enhancements have been made to make it even more accessible. We will return these changes to the MediaElement project in time. These enhancements are:

  • Change button labels when functionality enabled/disabled.
  • Use keyboard controls only when the focus is on user interface (UI) elements, like F for fullscreen or M for muting sound. It is wrong to have these controls enabled in the whole media player. Read this blog article of Dutch accessibility expert Hidden de Vries. Non textual keys, like arrows, are okay to be pressed in the whole player. Keys referring to characters not.
  • Adding the transcript below the media player in a collapsible panel.

OpenGemeenten is using the content management system (CMS) TYPO3 for most of its customers websites. Since we want to have control over the language labels as is usual in TYPO3, provided by XLF files, we changed the method to inject these labels into MediaElement.

Using TYPO3 and no TYPO3 extension?

Since we do cooperate a lot with other people producing websites for the government, not using this CMS, we decided to put a independent version of the solution. The TYPO3 extension will be released in another repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published