Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features: Add accessibility improvements #233

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
51787dd
Allow to use custom 'quality' settings for YT
otacke Jan 11, 2022
dbca80c
Fix time being displayed as NaN or 0 when changing YT video
otacke Jan 11, 2022
93b6188
Change phrasing from video quality to video version
otacke Jan 12, 2022
3f22d7c
Add alternate audio track files
otacke Jan 12, 2022
3878cbb
Add audio track chooser
otacke Jan 12, 2022
a30569c
Fix capitalization of "Video Version" default
otacke Jan 12, 2022
02bd603
Add playing audio tracks
otacke Jan 13, 2022
191edfe
Change audio track symbol
otacke Jan 13, 2022
0b93264
Fix using audio track prefix constant
otacke Jan 13, 2022
6b12cd7
Bump patch version
otacke Jan 13, 2022
5ef3b40
Allow minimalOverlay to shrink on very small screens
otacke Jan 13, 2022
7c397c3
Stop playing alternate audio while buffering or seeking
otacke Jan 14, 2022
c76ce4d
Add conditional syncing between alternative audio and video
otacke Jan 14, 2022
843898f
Add support for muting/unmuting
otacke Jan 14, 2022
8932717
Add first draft of transforming interactions for alt videos
otacke Feb 9, 2022
c205cc6
Fix setting interaction transformation on first play
otacke Feb 10, 2022
76037c6
Fix missing transformation update on resize
otacke Feb 10, 2022
f7136b6
Fix overflow of interaction overlays
otacke Feb 10, 2022
89aaf1c
Fix missing transformation after change for YouTube
otacke Feb 10, 2022
3f9925c
Fix transformation update without interactions
otacke Feb 10, 2022
e26fc54
Rename "video version" back to "video quality"
otacke Mar 11, 2022
4c857b0
Determine alternative video based on sign language flag
otacke Mar 11, 2022
50e2877
Fix adding audio chooser
otacke Mar 14, 2022
c2536cc
Add separate sign language menu section in chooser
otacke Mar 14, 2022
c4ca20a
Fix quality chooser header for no video quality
otacke Mar 14, 2022
48c200a
Change sign language title to italic
otacke Mar 14, 2022
5e8d7cd
Update multiple video fields to new languages
otacke Mar 14, 2022
a474fa1
Harmonize version number in package.json
otacke Mar 25, 2022
84e00b0
Tweak CSS
otacke Jun 13, 2022
314203a
Fix weird 0 comparison
otacke Jun 14, 2022
0e87929
Remove obsolete code
otacke Jun 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions language/.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,49 @@
}
]
},
{
"label": "Multiple videos",
"fields": [
{
"label": "Horizontal offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the horizontal offset in % here."
},
{
"label": "Vertical offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the vertical offset in % here."
},
{
"label": "Scale",
"description": "If your alternative videos contain a version of the original video that has been scaled, set the relative size in % here."
}
]
},
{
"label": "Alternate audio tracks",
"fields": [
{
"label": "Default track label",
"description": "Label for audio track in video. Only relevant if you add more audio tracks.",
"default": "Default"
},
{
"label": "Alternate audio tracks",
"entity": "Track",
"field": {
"label": "Track",
"fields": [
{
"label": "Track label",
"description": "Used if you offer multiple audio tracks and the user has to choose a track. For instance 'Spanish subtitles' could be the label of a Spanish subtitle track."
},
{
"label": "Audio file"
}
]
}
}
]
},
{
"label": "Text tracks (unsupported for YouTube videos)",
"fields": [
Expand Down Expand Up @@ -324,6 +367,14 @@
"label": "Video quality title",
"default": "Video Quality"
},
{
"label": "Sign language title",
"default": "Sign Language"
},
{
"label": "Audio track",
"default": "Audio track"
},
{
"label": "Video captions title",
"default": "Captions"
Expand Down
51 changes: 51 additions & 0 deletions language/af.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,49 @@
}
]
},
{
"label": "Multiple videos",
"fields": [
{
"label": "Horizontal offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the horizontal offset in % here."
},
{
"label": "Vertical offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the vertical offset in % here."
},
{
"label": "Scale",
"description": "If your alternative videos contain a version of the original video that has been scaled, set the relative size in % here."
}
]
},
{
"label": "Alternate audio tracks",
"fields": [
{
"label": "Default track label",
"description": "Label for audio track in video. Only relevant if you add more audio tracks.",
"default": "Default"
},
{
"label": "Alternate audio tracks",
"entity": "Track",
"field": {
"label": "Track",
"fields": [
{
"label": "Track label",
"description": "Used if you offer multiple audio tracks and the user has to choose a track. For instance 'Spanish subtitles' could be the label of a Spanish subtitle track."
},
{
"label": "Audio file"
}
]
}
}
]
},
{
"label": "Teks-snitte (word nie ondersteun vir YouTube-video's nie)",
"fields": [
Expand Down Expand Up @@ -324,6 +367,14 @@
"label": "Video kwaliteit titel",
"default": "Video kwaliteit"
},
{
"label": "Sign language title",
"default": "Sign Language"
},
{
"label": "Audio track",
"default": "Audio track"
},
{
"label": "Video onderskriftitel",
"default": "Onderskrifte"
Expand Down
51 changes: 51 additions & 0 deletions language/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,49 @@
}
]
},
{
"label": "Multiple videos",
"fields": [
{
"label": "Horizontal offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the horizontal offset in % here."
},
{
"label": "Vertical offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the vertical offset in % here."
},
{
"label": "Scale",
"description": "If your alternative videos contain a version of the original video that has been scaled, set the relative size in % here."
}
]
},
{
"label": "Alternate audio tracks",
"fields": [
{
"label": "Default track label",
"description": "Label for audio track in video. Only relevant if you add more audio tracks.",
"default": "Default"
},
{
"label": "Alternate audio tracks",
"entity": "Track",
"field": {
"label": "Track",
"fields": [
{
"label": "Track label",
"description": "Used if you offer multiple audio tracks and the user has to choose a track. For instance 'Spanish subtitles' could be the label of a Spanish subtitle track."
},
{
"label": "Audio file"
}
]
}
}
]
},
{
"label": "Text tracks (unsupported for YouTube videos)",
"fields": [
Expand Down Expand Up @@ -324,6 +367,14 @@
"label": "عنوان جودة الفيديو",
"default": "Video Quality"
},
{
"label": "Sign language title",
"default": "Sign Language"
},
{
"label": "Audio track",
"default": "Audio track"
},
{
"label": "Video captions title",
"default": "Captions"
Expand Down
51 changes: 51 additions & 0 deletions language/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,49 @@
}
]
},
{
"label": "Multiple videos",
"fields": [
{
"label": "Horizontal offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the horizontal offset in % here."
},
{
"label": "Vertical offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the vertical offset in % here."
},
{
"label": "Scale",
"description": "If your alternative videos contain a version of the original video that has been scaled, set the relative size in % here."
}
]
},
{
"label": "Alternate audio tracks",
"fields": [
{
"label": "Default track label",
"description": "Label for audio track in video. Only relevant if you add more audio tracks.",
"default": "Default"
},
{
"label": "Alternate audio tracks",
"entity": "Track",
"field": {
"label": "Track",
"fields": [
{
"label": "Track label",
"description": "Used if you offer multiple audio tracks and the user has to choose a track. For instance 'Spanish subtitles' could be the label of a Spanish subtitle track."
},
{
"label": "Audio file"
}
]
}
}
]
},
{
"label": "Текстови добавки (не се поддържа за YouTube видеа)",
"fields": [
Expand Down Expand Up @@ -324,6 +367,14 @@
"label": "Качество на видеото",
"default": "Качество на видеото"
},
{
"label": "Sign language title",
"default": "Sign Language"
},
{
"label": "Audio track",
"default": "Audio track"
},
{
"label": "Видео надписи",
"default": "Надписи"
Expand Down
51 changes: 51 additions & 0 deletions language/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,49 @@
}
]
},
{
"label": "Multiple videos",
"fields": [
{
"label": "Horizontal offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the horizontal offset in % here."
},
{
"label": "Vertical offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the vertical offset in % here."
},
{
"label": "Scale",
"description": "If your alternative videos contain a version of the original video that has been scaled, set the relative size in % here."
}
]
},
{
"label": "Alternate audio tracks",
"fields": [
{
"label": "Default track label",
"description": "Label for audio track in video. Only relevant if you add more audio tracks.",
"default": "Default"
},
{
"label": "Alternate audio tracks",
"entity": "Track",
"field": {
"label": "Track",
"fields": [
{
"label": "Track label",
"description": "Used if you offer multiple audio tracks and the user has to choose a track. For instance 'Spanish subtitles' could be the label of a Spanish subtitle track."
},
{
"label": "Audio file"
}
]
}
}
]
},
{
"label": "টেক্সট ট্র্যাক (ইউটিউব ভিডিওর ক্ষেত্রে অসমর্থিত)",
"fields": [
Expand Down Expand Up @@ -324,6 +367,14 @@
"label": "ভিডিও মান শিরোনাম",
"default": "ভিডিও মান"
},
{
"label": "Sign language title",
"default": "Sign Language"
},
{
"label": "Audio track",
"default": "Audio track"
},
{
"label": "ভিডিও ক্যাপশন শিরোনাম",
"default": "ক্যাপশন"
Expand Down
51 changes: 51 additions & 0 deletions language/bs.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,49 @@
}
]
},
{
"label": "Multiple videos",
"fields": [
{
"label": "Horizontal offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the horizontal offset in % here."
},
{
"label": "Vertical offset",
"description": "If your alternative videos contain a version of the original video that has been repositioned, set the vertical offset in % here."
},
{
"label": "Scale",
"description": "If your alternative videos contain a version of the original video that has been scaled, set the relative size in % here."
}
]
},
{
"label": "Alternate audio tracks",
"fields": [
{
"label": "Default track label",
"description": "Label for audio track in video. Only relevant if you add more audio tracks.",
"default": "Default"
},
{
"label": "Alternate audio tracks",
"entity": "Track",
"field": {
"label": "Track",
"fields": [
{
"label": "Track label",
"description": "Used if you offer multiple audio tracks and the user has to choose a track. For instance 'Spanish subtitles' could be the label of a Spanish subtitle track."
},
{
"label": "Audio file"
}
]
}
}
]
},
{
"label": "Tekst na trakama (unsupported for YouTube videos)",
"fields": [
Expand Down Expand Up @@ -324,6 +367,14 @@
"label": "Nazv za video kvalitet",
"default": "Video kvalitet"
},
{
"label": "Sign language title",
"default": "Sign Language"
},
{
"label": "Audio track",
"default": "Audio track"
},
{
"label": "Video captions title",
"default": "Titlovi"
Expand Down
Loading