1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-23 02:04:34 +02:00
Commit Graph

3957 Commits

Author SHA1 Message Date
André
b782cb09f4
fix(player): cache_.currentTime is not updated when the current time is set (#8285)
Updating cache_.currentTime as soon as the currentTime is set avoids having to wait for the timeupdate event, which results in:

- making cache_.currentTime more reliable
- updating the progress bar on mouse up after dragging when the media is paused.

See also: #6232, #6234, #6370, #6372
2023-06-01 08:50:29 -04:00
SuperShowwei
7e8532433e
feat(lang): update zh-TW translations (#7877) 2023-05-31 11:27:39 -04:00
Adam Waldron
53dfca4ba8
chore(package): update to http-streaming v3.3.1 (#8279) 2023-05-31 11:13:39 -04:00
mister-ben
3af36383ca
fix(jsdoc): corrections to jsdoc (#8277) 2023-05-31 11:12:57 -04:00
André
d524e5755d
fix(picture-in-picture-control): hide the component in non-compatible browsers (#7899) 2023-05-31 10:54:51 -04:00
Beligh HAMDI
20df248939
docs: update version number in README.md (#8271) 2023-05-31 10:42:15 -04:00
André
35fad1d454
fix(player): load method fails to reset the media element to its initial state when the VHS is used (#8274) 2023-05-31 10:41:44 -04:00
mister-ben
665154fa41
chore: remove legacy prefixes (#8276) 2023-05-31 10:34:01 -04:00
François Beaufort
9e1e29ddfd
fix: Document Picture-in-Picture: Use width/height instead of initialAspectRatio (#8270) 2023-05-31 10:31:24 -04:00
André
07effdf244
fix(skip-forward): error when clicking after player reset (#8258) 2023-05-31 10:30:49 -04:00
André
e73e05db8f
fix(seek-bar): error when scrubbing after player reset (#8257) 2023-05-31 10:30:13 -04:00
André
5151bc5970
fix(player): techGet is undefined (#8256)
Fixes #8255
2023-05-31 10:29:35 -04:00
Grzegorz Blaszczyk
52bad2b784
fix: ad icon is not visible on audio description track list element on Safari (#8232) 2023-05-31 10:28:50 -04:00
André
1a1adf3275
fix(player): address loss of crossOrigin value when loadMedia is called (#8085) 2023-05-31 10:25:34 -04:00
André
f1558c660b
fix(videojs): missing return in registerComponent (#8247) 2023-05-12 12:23:27 -04:00
Dzianis Dashkevich
866ef24b79
fix: Replace Object.values with ponyfill (#8267)
Unpin Firefox in BrowserStack tests, which fixes test failures as well.

Fixes #8266.
2023-05-11 18:57:13 -04:00
Grzegorz Blaszczyk
1491d71b26
feat: text track display overlays a video (#8009) 2023-04-11 21:30:18 +02:00
Pat O'Neill
d26780eca6 8.3.0 2023-04-05 10:46:55 -04:00
Pat O'Neill
fe94c5da46
chore(package): fix out of sync package-lock.json (#8228) 2023-04-05 10:42:03 -04:00
mister-ben
61bd74de8d
fix(types): Add jsdoc plugin to handle ts-style imports (#8225) 2023-04-05 10:10:13 -04: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
André
71343d1996
fix: reset progress bar fully when player is reset (#8160) 2023-04-04 16:58:57 -04:00
mister-ben
b489bc5c7d
fix: Ensure additional components update on languagechange (#8175) 2023-04-04 16:54:36 -04:00
mister-ben
e42b8594ff
chore: update issue template (#8212) 2023-04-04 16:48:05 -04:00
mister-ben
0c72805500
feat: Add document picture-in-picture support (#8113)
Co-authored-by: François Beaufort <beaufort.francois@gmail.com>
2023-04-04 16:44:16 -04:00
Phil Hale
882f3af3b2
chore: Update CI and release workflows (#8214)
* Update deprecated set-output command.
* Update actions to use Node 16 rather than Node 12.
2023-03-30 15:22:28 +01:00
mister-ben
c1a1f9cb5d
docs: Update jsdoc template for better usability on mobile (#8048)
* docs: Update jsdoc template for better use on mobile

* add logo

* add logo css

* redirects should have trailing slash to avoid another redirect

* add and style linnks in header, remove from footer

* update theme to get rid of file list

* improve doc index text

* Add version number in Github link
2023-03-22 20:15:17 +01:00
Jon Dufresne
423f7ebd67
Fix several typos in docs and comments (#8110) 2023-03-22 15:00:01 +01:00
ebraminio
af33e39da9
fix(lang): Improve Persian translation (#7991)
Minor typography related improvements.

In Persian compound words are joined with Zero-width non-joiner character (\u200c) and
this change uses it wherever needed. Also Persian uses a different comma than
the English keyboard one and this uses that instead.

Co-authored-by: mister-ben <git@misterben.me>
2023-03-22 14:52:02 +01:00
Ron
b60d34bce2
fix(lang): Update nl.json (#8135)
* Update nl.json

Changes and additions to Dutch language file.

* Update nl.json

---------

Co-authored-by: mister-ben <git@misterben.me>
2023-03-22 14:51:09 +01:00
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