1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-24 08:42:25 +02:00
Commit Graph

59 Commits

Author SHA1 Message Date
Usman Omar
560b81a6d9
fix(text): caption settings typo 2023-08-14 15:13:02 +01:00
mister-ben
629000bc8c
fix(lang): Improve translations for mute and unmute (#8227)
Co-authored-by: Antoine-Cap <129858211+Antoine-Cap@users.noreply.github.com>
2023-04-05 09:50:05 -04:00
Walter Seymour
7e8bd5ce5a
fix(lang): update Japanese translations (#8190) 2023-03-15 10:03:45 -05:00
Usman Omar
8f3f32cb2b
feat: add skip forward/backward buttons (#8147)
* remove duplicate icons from icon example

* create initial forward and back button classes

* add logic for back/forward buttons on click

* change icon used based on option passed into player

* move logic from forward and back buttons into one component

* add jsdoc comments for clarity

* create initial test file

* refactor button logic into separate files

* update skip button example and add test files

* test both the forward and backward buttons

* test handleClick fns for both forward and backward btns

* update skip buttons example

* update jsdocs for skip backward and forward buttons

* make control text accessible and use seekableEnd/Start when skipping forward/back

* update font version to use updated icons

* set control text only if config is valid

* add link to sandbox page & use localization

* update translations needed
2023-03-06 09:51:59 +00:00
mister-ben
55cd188cb3
chore: Update translations script to special case en-GB (#8106)
* chore: Update translations needed script to special case en-GB

* update translateions needed
2023-02-21 17:03:47 +01:00
Walter Seymour
b306ce614e
feat: improved text tracks settings labels (#8101) 2023-02-06 13:44:24 -06:00
Adam Waldron
e21d295d77
chore: add missing translations (#8083) 2023-01-23 10:44:10 -08:00
Pat O'Neill
a5e7222353 feat(lang): use less ambiguous text for the fullscreen button when in fullscreen mode (#7856) 2022-11-23 09:49:25 -05:00
AHOHNMYC
ef7ccfcb2d fix(lang): Improving Russian translation (#7740)
Co-authored-by: meow <woem>
2022-05-20 09:54:37 -04:00
Mikel Larreategi
a80307fe0d
feat: Add Basque (eu) translations (#7625) 2022-03-02 10:44:04 -05:00
Pat O'Neill
26209b0dcd
fix(lang): remove trailing comma from fr.json (#7657) 2022-02-23 12:57:03 -05:00
Noemite
b5f775ecda
fix(lang): Add missing translations for French, Italian, Japanese, and Korean (#7589)
Co-authored-by: Noémie Macault <noemie.macault@capgemini.com>
2022-02-23 12:16:59 -05:00
Derek Kwiatkowski
5c2a45bad7
feat(lang): add Romanian language and update translations doc. (#7300) 2021-07-28 17:09:11 -04:00
David Brutoczki
0f707876ef
fix(lang): improve Hungarian translation (#7289) 2021-06-29 17:52:47 -04:00
Owen Edwards
5f59391a74
feat: Add a player option noUITitleAttributes to prevent title attributes in the UI (#7134)
Fixes #6767
2021-03-23 17:47:16 -04:00
icokk
8476abd186
feat(lang): add Slovene language translation (#6959)
Co-authored-by: Iztok <iztok@abelium.com>
2020-12-11 15:57:34 -05:00
Jonathan Yeong
464b971315
feat(lang): add thai language translations (#6945)
Also, update translations needed docs page.
2020-11-16 14:38:02 -05:00
mister-ben
88850e94af
fix(lang): Add PiP to de (#6803) 2020-08-13 08:47:11 -04:00
Grzegorz Blaszczyk
dbd5203a0b
feat: adds disablePictureInPicture method to the player API. (#6378) 2020-04-22 12:41:21 -04:00
Ehsan Chavoshi
31ac9d7a58
fix(lang): improve Persian translation (#6468) 2020-02-24 17:48:01 -05:00
Pat O'Neill
3b0f0b9ea8
fix(lang): add missing Arabic translations (#6435) 2020-02-12 13:51:09 -05:00
Dan Michael O. Heggø
e37996d3c3 fix(lang): Update Norwegian translations (#6220) 2019-10-07 12:23:36 -04:00
Brandon Casey
85ad44e13e chore: package json cleanup (#5649) 2019-08-30 14:14:53 -04:00
Pat O'Neill
bd51e9e8db fix(lang): Add missing strings for Chinese (Simplified) and Chinese (Traditional) (#6149) 2019-08-07 16:06:14 -04:00
Paul Dias
1d2b20636c fix(lang): update Spanish translations (#6065) 2019-08-01 14:07:16 -04:00
mister-ben
97b66a9130 fix(lang): update German translations (#6058) 2019-06-18 15:30:52 -04:00
Brandon Casey
165c120db0 fix(a11y): make seek-to-live better announce itself to screen reader users (#5651)
To make the seek-to-live component more accessible, we hide the text that says "LIVE" from screen readers and make it be purely for sighted users. Then set the control text to be either "Seek to live, currently playing live" or "Seek to live, currently behind live" to indicate what this control does and be informative around whether we are at edge or not. Then use aria-disabled on control if we are at edge.
2018-12-11 16:40:56 -05:00
Gary Katsevman
62f9e78cf2
docs: remove grunt and update usage of build scripts (#5656) 2018-12-05 16:12:21 -05:00
Vitalii Tverdokhlib
b7aafdc718 fix(lang): append UKR translations and fix check translations command (#5642) 2018-12-05 15:03:03 -05:00
Vitalii Tverdokhlib
0090b75672 fix(lang): add is loading ru translation (#5630) 2018-11-30 10:49:24 -05:00
Gary Katsevman
c2eb138e66
chore(lang): update translations-needed doc (#5459) 2018-09-28 16:06:32 -04:00
Owen Edwards
0aa827fac5 fix(time-display): restore hidden label text for screen readers. (#5157)
Restore hidden label text for screen readers that describes what the button control does.

Renames the Duration Time language item to Duration.

Deprecate controlText_ property.

Fix a typo in translations-needed.md.

Add a space in the hidden label for live-display, so that it doesn't run together with the visible "LIVE" indication.

Fixes #5135
2018-05-11 14:34:33 -04:00
Pat O'Neill
50831e3381 fix: Add alternate text to the loading spinner. (#4916)
This is a first in a few changes related to #4902. This just adds a text alternative to the loading spinner. In future PRs, we would make it alert to screen readers and potentially have a generic alerting mechanism.
2018-02-22 16:19:35 -05:00
Gary Katsevman
df0d705cd8
chore(lang): update translations needed doc (#4858) 2018-01-03 17:21:58 -05:00
Gary Katsevman
93e7670581
docs(lang): update translations needed doc (#4702) 2017-10-31 12:17:59 -04:00
mister-ben
ee2a49c18c chore(lang): Update Polish (#4686) 2017-10-30 17:52:58 -04:00
mister-ben
e0824c8294 fix: Update translations to match correct string (#4383)
The lang files were translating "all settings to the default values" instead of "restore all settings to the default values".
2017-06-28 16:31:44 +10:00
Gary Katsevman
a5a68e819a chore: update translations needed (#4380) 2017-05-25 18:32:17 -04:00
Adrian P. Blunier
2a26c7f87b feat(lang): Adding galician (#4334) 2017-05-25 18:15:33 -04:00
Brandon Casey
61e20786a9 docs: fix links in generated docs (#4200) 2017-03-21 17:13:06 -04:00
Lionel
8c1302ee34 feat(lang): French translation update (#4118) 2017-02-22 14:25:53 -05:00
Gary Katsevman
db0112053f feat: allow tokens in localize, localize progress bar time (#4060)
It allows you to use string as an key for the language files but have a default value that's different. In this case, we have a key of progress bar timing: currentTime={1} duration={2} which is used so that we have a descriptive key to what is happening. The default value matches that default value in en.json: {1} of {2}. The reason for the default value is so that the translation uses {1} of {2} for the actual localization without requiring en.json to be included in videojs by default.

Fix #4024.
2017-02-21 16:17:00 -05:00
Gary Katsevman
0d0dea4da8 feat: fix accessibility of the captions setting dialog (#4050)
This fixes a lot of the issues from #2746 by making the dialog inherit from our actual ModalDialog which now has tab focus trapping.

The Captions Settings dialog has some accessibility issues:
- Field labels and fields are not explicitly associated
- Keyboard focus does not move into the dialog when it is opened
- Keyboard focus is not trapped inside the dialog while it is open
- Keyboard focus does not return to the control which opened the dialog when it is closed
- The extent (top and bottom) of the dialog is not indicated to screen readers
- The dialog cannot be closed with the Esc key
- The meaning of '---' in the select fields is not clear
- The control to close the dialog is labeled "Done" rather than "Close"
- The purpose of the "Defaults" button may not be obvious, and its effect may not be apparent to screen reader users
- Focus highlighting (outline) on the Default and Done buttons is *very* hard to see
- Pressing the Done button doesn’t seem to have the same effect as pressing the Close (x) button; does it trigger the same focus movement
- This requirement to move it back to the triggering element is tricky, since clicking on that item in the CC menu dismisses the CC menu. I need to think about this a little more - either the menu should open again, or the focus should go to the main CC Menu Button
- The focus outline on the whole dialog goes too far to the left (all the way to the edge of the video window, not just to the edge of the dialog)

Fixes #2746.
2017-02-21 15:58:04 -05:00
Lionel
dc4c1eb88b fix: improve French translation (#4062)
Improved translation of "Casual"
2017-02-15 15:26:24 -05:00
Gary Katsevman
0ac126935a fix: localize aria-labels (#4027)
Fixes #2728.
2017-02-08 17:29:32 -05:00
RevinKey
70d2eb10cf feat(lang): update es.json (#3984) 2017-02-03 16:31:23 -05:00
Altay
37a6811fb6 feat(lang): Update tr.json (#3989) 2017-01-27 15:29:39 -05:00
mister-ben
8e7d8cc959 feat: localize all strings in captions settings (#3974) 2017-01-25 13:54:21 -05:00
Dinis Correia
8888e2b5b5 feat(lang): add European Portuguese translation (#3955) 2017-01-24 15:03:05 -05:00
ngoisaosang
1463e50f7b feat(lang): update Vietnamese lang file (#3964) 2017-01-24 15:00:19 -05:00