| Install | |
|---|---|
composer require iundd/a11y-me-video |
|
| Latest Version: | 3.0.0 |

| URL | |
|---|---|
| Repository | https://github.com/iundd/a11y_me_video |
| Read online | https://docs.typo3.org/p/iundd/a11y-me-video/main/en-us/ |
| TER | https://extensions.typo3.org/extension/a11y_me_video |
The extension needs to be installed like any other TYPO3 CMS extension. Get the extension by one of the following methods.
The recommended way to install the extension is by using Composer. In your composer based TYPO3 project root, just do
composer req iundd/a11y-me-video
You can get the latest version from git by using the git command:
git clone https://github.com/iundd/a11y_me_video.git
Admin Tools > Extensions.Get Extensions and search for the extension key a11y_me_video.The extension requires some TypoScript code, which must be integrated.

This project uses semantic versioning which means that
Textalternative
EXT:a11y_me_video is using Fluid as template engine.
This documentation won't bring you all information about Fluid but only the most important things you need for using it. You can get more information in the section Fluid templates of the Sitepackage tutorial. A complete reference of Fluid ViewHelpers provided by TYPO3 can be found in the Fluid ViewHelper Reference
Like any Extbase based extension, you can find the templates in the directory EXT:a11y_me_video/Resources/Private/.
If you want to change a template, copy the desired files to the directory where you store the templates.
We suggest that you use a sitepackage extension. Learn how to create a sitepackage extension.
plugin.tx_a11ymevideo {
view {
templateRootPath = EXT:mysitepackage/Resources/Private/Extensions/a11y_me_video/Templates/
partialRootPath = EXT:mysitepackage/Resources/Private/Extensions/a11y_me_video/Partials/
layoutRootPath = EXT:mysitepackage/Resources/Private/Extensions/a11y_me_video/Layouts/
}
}
CSS and Javascript files are integrated via the fluid partial Resources/Private/Partials/Assets.html.
e.G.
<f:asset.css identifier="a11yMeVideo_PlayerCss" href="EXT:a11y_me_video/Resources/Public/StyleSheets/videoPlayer.min.css"></f:asset.css>
If necessary, you can integrate your own modified files from your site package extension here.
e.G.
<f:asset.css identifier="a11yMeVideo_PlayerCss" href="EXT:my_extension/Resources/Public/StyleSheets/videoPlayer.min.css"></f:asset.css>
You can adapt the CSS to your own needs. You can use the existing CSS or SCSS files as base. Copy the file to your own site package and include them with the alternative path.
You can find the original files here:
override css:
/* background color video */
.a11y-me-videoplayer video {
background-color: #2b3840;
}
/* background color controls */
.a11y-me-videoplayer.active-controls .mejs__controls:not([style*="display: none"]) {
background-color: #2b3840;
}
change scss variables (EXT:a11y_me_video/Resources/Private/Scss/_variables.scss)
$a11y-video-outline-color : white;
$a11y-video-controls-bg : #2b3840;
Note:The color contrast (foreground to background) for controls must be at least 4.5:1.
| JavaScript source file(s) | Description |
|---|---|
| EXT:a11y_me_video/Resources/Public/JavaScript/Vendor/mediaelement/build/mediaelement-and-player.js | MediaElements.js player |
| EXT:a11y_me_video/Resources/Public/JavaScript/Vendor/mediaelement/build/lang.advanced/*.js | extended language files for player |
| EXT:a11y_me_video/Resources/Public/JavaScript/Vendor/mediaelement-plugins/dist/a11y/a11y.js | a11y plugin for subtitles und audio description |
| EXT:a11y_me_video/Resources/Public/videoPlayer.js | starts init mediaelement players & some fixes |
This setting determines which heading type is used when selecting default in the backend content module.
The default header type is 2 (= h2 header).
tt_content.a11ymevideo_videoplayer {
variables {
defaultHeaderType.value = 2
}
}
tt_content.a11ymevideo_videoplayer2 {
variables {
defaultHeaderType.value = 2
}
}

Select A11y Video Player & Text or A11y Video Player & Text (linked file resources):

Accessible video player (local file resources)
This content element supports data fields und settings, which are known from any standard content elements e.g. Text & Media.

Select the language of the controls and the subtitles file (if available) of the video player here.
The Default setting means that the settings on the page are used automatically.
You can choose another language from the list. Only the languages in the list are supported.

Here you can specify alternatives to the main video. Use it to improve accessibility.
Synchronous video with sign language.
A typical sign language video shows the original video in the background and the sign language interpreter in the foreground.
Note: If the sign language video is the main video, then please use the Main Video tab for the sign language video.
Video in additional alternative video format (optional)
Note: This video will be ignored if you don't specify a mp4 video.
Audio file in mp3 format. Used as an alternative audio track.
The audio track contains the original sound and additional text spoken by a narrator. Speech and audio gaps can be used to describe additional important visual information for blind and visually impaired people.

This content element supports data fields und settings, which are known from any standard content elements e.g. Text & Media.
All settings are optional.


Accessible video player. The player uses linked file resources, for example external links.
This content element supports data fields und settings, which are known from any standard content elements e.g. Text & Media.

Select the language of the controls and the subtitles file (if available) of the video player here.
The Default setting means that the settings on the page are used automatically.
You can choose another language from the list. Only the languages in the list are supported.

Here you can specify alternatives to the main video. Use it to improve accessibility.
Synchronous video with sign language.
A typical sign language video shows the original video in the background and the sign language interpreter in the foreground.
Note: If the sign language video is the main video, then please use the Main Video tab for the sign language video.
Video in additional alternative video format (optional)
Note: This video will be ignored if you don't specify a mp4 video.
Audio file in mp3 format. Used as an alternative audio track.
The audio track contains the original sound and additional text spoken by a narrator. Speech and audio gaps can be used to describe additional important visual information for blind and visually impaired people.

This content element supports data fields und settings, which are known from any standard content elements e.g. Text & Media.
All settings are optional.


Sorry. The old example files no longer exist. For a better understanding of the content requirements for the media files, you will find a similar video player on the following website:
https://www.aktion-mensch.de/inklusion/barrierefreiheit/barrierefreie-videos-fuer-alle.
The main video, the sign language video and the mp3 file with audio description must be in sync. This means that they all have the same timeline, so that you can easily switch between them at any time.
A typical sign language video shows the original video in the background and the sign language interpreter in the foreground.
The audio description is used as an alternative audio track. The audio track contains the original sound and additional text spoken by a narrator. Speech and audio gaps can be used to describe additional important visual information for blind and visually impaired people.
Video player based on MediaElement.js and A11y Plugin.js (Aktion Mensch Plugin):