Skip to content

New features: Add accessibility improvements#233

Closed
otacke wants to merge 31 commits intoh5p:masterfrom
otacke:multi-tube
Closed

New features: Add accessibility improvements#233
otacke wants to merge 31 commits intoh5p:masterfrom
otacke:multi-tube

Conversation

@otacke
Copy link
Contributor

@otacke otacke commented Mar 14, 2022

When merged in, will allow to ...

  • use multiple videos (= video qualities) for YouTube videos as well,
  • allow to separately choose from "video qualities" and "sign language" videos
  • allow to customize positioning of interactions (offset + scaling) for "sign language" videos
  • allow to add alternate audio tracks, e.g. for tracks with audio narration for visually impaired people, that users can choose from

Requires changes to H5P Editor core and H5P.Video to take effect.

pre-qualified by and implemented according to requests from @falcon-git

Bonus for H5P.Video: Stop calling pause() before play promise resolved

var $listSignLanguage = $('');
if (htmlSignLanguage !== '') {
var classesSignLanguage = 'h5p-interactive-video-menu-title';
if (html !== 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Condition should be html !== '' like this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was in fact a little strange. Not sure how that found its way in there.

var classesSignLanguage = 'h5p-interactive-video-menu-title';
if (html !== 0) {
// Only secondary title
classesSignLanguage += ' h5p-interactive-video-menu-title-secondary';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When will this execute? Just related to above comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was a remnant of my previous implementation that could have sign language versions separately from the "qualities". Thanks for finding that.

@otacke
Copy link
Contributor Author

otacke commented Jul 15, 2023

Rejected despite pre-qualification

@otacke otacke closed this Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants