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

3927 Commits

Author SHA1 Message Date
brayden-wood
c35c45b03a
fix: improved accessibility for time display (#8182)
This change is to remove the aria-live attribute from time display elements. The aria-live attribute is no longer needed since the presentation role was added. Both attributes being present can lead to unexpected screen reader behavior.
Fixes issue #8143
2023-03-21 17:55:11 -04:00
Andrea Stagi
fefd52573e
fix(lang): improve Italian labels (#8193) 2023-03-21 17:47:42 -04:00
wseymour
bf1d9f307d 8.2.1 2023-03-15 13:29:14 -05:00
Walter Seymour
7e8bd5ce5a
fix(lang): update Japanese translations (#8190) 2023-03-15 10:03:45 -05:00
mister-ben
35c539de48
fix(lang): Add strings for skip buttons (#8174) 2023-03-07 18:11:22 +01:00
Adam Waldron
b7116be725
fix: replay button broken for native playback (#8142)
* fix: replay button broken for native playback

* remove debug logging

* move fix to player

* comment

* add unit test

* add native browser stubs

* reset stubs and test currentTime
2023-03-06 10:32:14 -08:00
usmanonazim
2a99a7824e 8.2.0 2023-03-06 10:19:21 +00: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
0022867a2a
fix(types): Improve Typescript coverage (#8148) 2023-03-02 06:41:57 +01:00
Dzianis Dashkevich
0a4717531e
chore(documentation): Update release flow in collaborator guide md (#8167)
* chore(documentation): Update release flow in collaborator guide md

* update doc based on review feedback

* use capital letter for Video.js

---------

Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2023-02-28 19:25:14 -08:00
Dzianis Dashkevich
3a147bdc1b 8.1.1 2023-02-27 16:18:32 -08:00
Dzianis Dashkevich
48a4ffc3e8
chore(package): update to @videojs/http-streaming 3.0.2 (#8162)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2023-02-27 14:24:15 -08:00
Alex Barstow
54830cdd0e
docs: Remove redundant 8.0.4 changes from 8.1.0 changelog (#8155) 2023-02-23 15:26:04 -05:00
Alex Barstow
faac1e398d 8.1.0 2023-02-23 13:06:50 -05: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
mister-ben
a27ee053bb
fix: Remove img el when there's no poster source (#8130)
* fix: No invalid img el with no poster source

* move dom changes into setSrc
2023-02-20 10:04:39 +01:00
Usman Omar
2c7eea889a
chore: upgrade videojs-font to 4.0.0 (#8117)
* upgrade videojs-font to 4.0 & update icons example

* update css content to use font 4.0 unicodes
2023-02-10 17:41:49 +00:00
Walter Seymour
b306ce614e
feat: improved text tracks settings labels (#8101) 2023-02-06 13:44:24 -06:00
mister-ben
f080150e87 8.0.4 2023-02-02 08:58:48 +01:00
mister-ben
0cfc4857b4
chore: Update codecov action (#8103) 2023-02-01 19:18:30 +01:00
mister-ben
7776d18314
fix(lang): Add missing comma in turkish (#8102) 2023-02-01 18:43:50 +01:00
Damian Czupryn
7493925132
Czech langs updates (#7982)
Co-authored-by: mister-ben <git@misterben.me>
2023-02-01 18:14:59 +01:00
Onur Dumangöz
5e6a2e5e46
Update tr.json (#8060) 2023-02-01 18:10:37 +01:00
mister-ben
db882cd49d
fix: remove unnecessary handling of invalid cues (#7956) 2023-02-01 18:08:30 +01:00
Grzegorz Blaszczyk
33b476d7cc
fix: use Screen Orientation API where supported (#8031)
* feat:  introduces Screen Orientation API for detecting orientation change

* feat:  add missing unit tests
2023-02-01 18:05:41 +01:00
Jacob Hamblin
267b5c6bff
fix: Exit PIP if entering fullscreen (#8082)
* exit PIP if entering fullscreen

* assert that entering full screen leaves PiP
2023-02-01 18:03:36 +01:00
Pat O'Neill
9bda6be36c
chore: roll back remark dev dependencies to address failing release automation (#8021) 2023-02-01 11:48:25 -05:00
Liberal dev
b430ea8034
fix wrong translation (#8091) 2023-01-27 17:08:19 +01:00
mister-ben
68fec76202
fix(lang): Remove dupelicate entry in en.json (#8093)
Removes duplicate `Exit Fullscreen`
2023-01-27 16:58:41 +01:00
Grzegorz Blaszczyk
2e96253632
fix: Improves types for registerPlugin and getPlugin (#8058)
* fix: improves types for registerPlugin and getPlugin

* fix: corrects parameter type for registerPlugin

* docs(fix): add support for {typeof class} expression

* chore: move js-doc-typeof-plugin to build dir
2023-01-24 22:07:30 +01:00
mister-ben
509b3d0757
fix: Ensures iOS can use native fullscreen (#8071) 2023-01-24 11:45:49 +01:00
mister-ben
3accbc7c73
fix: Set alt attr on poster img (#8043)
* fix: Set alt attr on poster img

* use null alt instead

* remove debug text
2023-01-24 09:59:27 +01:00
Adam Waldron
e21d295d77
chore: add missing translations (#8083) 2023-01-23 10:44:10 -08:00
Alex Barstow
df71bb0a2c 8.0.3 2023-01-05 13:28:50 -05:00
Alex Barstow
40e1d47763
fix(package): Upgrade to videojs-contrib-quality-levels 3.0.0 (#8055) 2022-12-22 16:18:27 -05:00
mister-ben
e59222a4ff
chore: Update lock thrads dependency (#8044) 2022-12-13 09:52:52 +01:00
mister-ben
c414d6278b 8.0.2 2022-11-24 17:19:31 +01:00
mister-ben
dff3dd4155
fix: Add poster size styles (#8022) 2022-11-24 17:11:40 +01:00
Pat O'Neill
84062c3b0c 8.0.1 2022-11-23 16:23:06 -05:00
Pat O'Neill
b5d487ca0a
chore: gh-release build script no longer needed (#8020) 2022-11-23 16:18:57 -05:00
Pat O'Neill
adaeeca9e9
chore(package): update videojs-contrib-quality-levels to 2.2.1 (#8019) 2022-11-23 16:18:34 -05:00
Pat O'Neill
c8fd5bbcde 8.0.0 2022-11-23 12:58:39 -05:00
Pat O'Neill
e1a7ac376a
chore: re-generate package-lock.json to fix merge issues with main (#8015) 2022-11-23 12:44:39 -05:00
mister-ben
2d96c9d780 feat: Use userAgentData in favour of userAgent (#7979) 2022-11-23 09:49:37 -05:00
Gary Katsevman
db4201a800 chore: make direct deps be exact but indirect have ^ (#8014) 2022-11-23 09:49:37 -05:00
Pat O'Neill
bf1faffb94 chore(package): update to @videojs/http-streaming 3.0.0 (#8012) 2022-11-23 09:49:36 -05:00
Grzegorz Blaszczyk
0545df5289 feat: generate Typescript definitions (#7954) 2022-11-23 09:49:35 -05:00
KangXinzhi
b7080f7d8a fix(control-bar): make vertical alignment of slider handles more consistent (#7990)
Fixes #7989

BREAKING CHANGE: This changes how slider handles are styled, so custom skins that are targeting them may need to change.
2022-11-23 09:49:34 -05:00
Grzegorz Blaszczyk
dec7075386 fix(jsdoc): controlText_ should have a protected access modifier. (#7972) 2022-11-23 09:49:33 -05:00
Pat O'Neill
b8ee8858f8 refactor: rename fn.bind to fn.bind_ to strongly indicate it should not be used externally (#7940) 2022-11-23 09:49:32 -05:00