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

4065 Commits

Author SHA1 Message Date
Adam Waldron
12310ed997
chore: update VHS to v3.12.1 (#8687) 2024-04-16 08:55:26 -07:00
Gary Katsevman
d715e0fe03
feat(emulated-tracks): add class to force cues to be center aligned (#8625)
https://github.com/videojs/http-streaming/pull/1408 updated 608 captions to default to be left aligned. This may be unwanted by some folks and we should provide an easier way to force them to be centered.
This PR adds a player level class that will override the text alignment to be `center`. It also overrides the `width` to `80%` because otherwise the cue box isn't set up correctly to be 10% from the right of the display area (a side effect of hardcoding a width value and using inset in the generation of the cues).
2024-04-12 20:45:50 +02:00
mister-ben
3f32de30ca
fix(build): Use quoted dbl quotes to support Windows (#8681) 2024-04-12 18:54:17 +02:00
mister-ben
af06f50d09
chore: update GitHub Actions version and remove xvfb (#8682)
* uncovered change to a file

* update codecov action

* revert temp test change

* bump other action versions

* remove xvfb action
2024-04-12 18:06:35 +02:00
Si
ee07382f91
feat(lang): added arabic seek button translations (#8616)
* feat(lang): added arabic seek button translations

* added localization support to skipButtons controlText
2024-04-12 02:39:44 -04:00
SImonAllen
4ccedc1527
chore: Remove unused type.js file (#8658) 2024-04-12 02:19:38 -04:00
Fabio Bonelli
4a17426484
fix(i18n): better Italian translation for "captions" (#8513)
"Didascalie" is the better translation for "captions" in Italian

See also: https://www.w3.org/Translations/WCAG22-it/#h-note-76
2024-04-12 02:10:54 -04:00
Rajnikant Phadake
80429fae71
feat(lang): Add support for Marathi Language (#8596)
* Support for Marathi Language added

Support for indian lanuage marathi is added for multilingual support

* Comments Resolved for suggestions

---------

Co-authored-by: Rajnikant Phadake <bzwizapp@gmail.com>
2024-04-12 01:55:17 -04:00
Pat O'Neill
8e5870f984
feat: add browser.IS_SMART_TV and class names for CSS targeting devices (#8676) 2024-04-10 10:07:31 -04:00
Harisha Rajam Swaminathan
50f14bd66d
fix: time tooltip truncated (#8527) 2024-04-10 18:51:39 +05:30
Adam Waldron
caf6d30c36
fix: add additional and remove unused error const (#8656) 2024-03-25 11:15:33 -07:00
wseymour15
2f1cc6c2b3 8.11.8 2024-03-12 14:32:18 -05:00
Walter Seymour
66b74ebd57
chore: update VHS to v3.12.0 (#8637) 2024-03-12 14:29:29 -05:00
Adam Waldron
42fe1e61ba
chore: add contrib-eme errors (#8634) 2024-03-12 12:10:34 -07:00
Dzianis Dashkevich
9977a937c6 8.11.7 2024-03-06 15:13:44 -05:00
Dzianis Dashkevich
d113ce5328
chore(package): update quality-levels version (#8630)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-03-06 15:04:39 -05:00
Walter Seymour
b59a89b1ce
fix: typo in error const (#8628) 2024-03-04 16:17:25 -06:00
wseymour15
26265d7d17 8.11.6 2024-03-04 13:36:38 -06:00
Walter Seymour
7ed47de29d
chore: additional vjs ad errors (#8623) 2024-03-04 13:23:12 -06:00
mister-ben
04d10ef3dd
chore: Add action to validate PR titles (#8614) 2024-03-04 17:54:33 +01:00
Dzianis Dashkevich
d7757d880e 8.11.5 2024-02-28 13:59:06 -05:00
Dzianis Dashkevich
1f76abd7cd
chore: update vhs version (#8621)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-02-28 13:54:31 -05:00
Dzianis Dashkevich
a57b07a418 8.11.4 2024-02-21 11:16:53 -05:00
Dzianis Dashkevich
ac2eb84539
chore: update vhs to 3.11.2 (#8603)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-02-21 11:16:21 -05:00
wseymour15
b0d84ee1c5 8.11.3 2024-02-20 13:09:15 -06:00
Walter Seymour
4c1f63b711
chore: update pip enter event with window metadata (#8591) 2024-02-20 11:11:00 -06:00
Walter Seymour
395d608761
chore: update playbackRates jsdoc (#8583) 2024-02-13 11:35:36 -05:00
Alex Barstow
54e3a0614b 8.11.2 2024-02-13 11:19:05 -05:00
Alex Barstow
7f7e2a3662
chore: update http-streaming to v3.11.1 (#8584) 2024-02-13 10:59:01 -05:00
Harisha Rajam Swaminathan
6eb0230078
fix: error-display (#8529) 2024-01-30 11:32:58 -05:00
Adam Waldron
c964bec3f5 8.11.1 2024-01-29 12:16:48 -08:00
Adam Waldron
14b5fde524
fix: browser util flagging smart TV as Safari (#8566) 2024-01-26 09:46:53 -08:00
wseymour15
edb6daf642 8.11.0 2024-01-25 08:59:58 -06:00
Walter Seymour
43941a801f
feat: improved error interface (#8564) 2024-01-25 08:57:16 -06:00
Sarah Rimron-Soutter
6fe68e5dad 8.10.0 2024-01-17 12:42:34 +00:00
Essk
eebcc07dac
chore: update to http-streaming v3.10.0 (#8558) 2024-01-17 12:40:55 +00:00
mister-ben
46c9907a9b
fix: Fixes form markup in text track settings (#8557) 2024-01-16 17:43:39 +01:00
Carlos Javier Villaseñor Castillo
7345768575
feat(error): remove confusing decorative X from error display modal (#8553)
Modify _error:
-Remove the ‘x’ decorative element from the error display modal.
2024-01-10 14:32:27 -06:00
Peter Petraník
abdfaacd90
feat: expose version from player.version() (#8543)
Add a `Player#version()` method which returns an object with the Video.js version under the `video.js` property name, to match the package name.

This could then be extended to support adding plugin, tech, and source handler versions as part of the version call.

Fixes #8538
2024-01-04 09:35:23 -05:00
Dzianis Dashkevich
09c9bfba05 8.9.0 2024-01-02 13:25:50 -05:00
Dzianis Dashkevich
17506b1316
chore: update vhs to 3.9.1 (#8539)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-01-02 13:24:27 -05:00
André
608a585dcb
feat: Seek bar smooth seeking (#8287)
* refactor(player): decrease the indentation level in the currentTime method

* fix(player): cache_.currentTime is not updated when the current time is set

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

* feat: add an option to handle smooth seeking

Adds a player option called enableSmoothSeeking, which is false by default,
to provide a smoother seeking experience on mobile and desktop devices.

Usage:
```javascript
// Enables the smooth seeking
const player = videojs('player', {enableSmoothSeeking: true});

// Disable the smooth seeking
player.options({enableSmoothSeeking: false});
```

- **player.js** add an `option` called `enableSmoothSeeking`
- **time-display.js** add a listener to the `seeking` event if `enableSmoothSeeking` is `true` allowing to update the `CurrentTimeDisplay` and `RemainingTimeDisplay` in real time
- **seek-bar.js** `update` the seek bar on `mousemove` event  if `enableSmoothSeeking` is `true`
- add test cases
2024-01-02 13:11:55 -05:00
Tsachi Shlidor
af0fca3623
fix(skip-forward): a11y (#8532) 2023-12-21 17:12:59 +01:00
Adam Waldron
d2dc5b9056 8.8.0 2023-12-14 14:05:24 -08:00
Adam Waldron
fe7cf98745
feat: update VHS to v3.9.0 (#8526) 2023-12-14 13:59:38 -08:00
Dzianis Dashkevich
1fff5c0698
chore: update player public interface for types visibility (#8525)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2023-12-14 13:07:17 -05:00
Dzianis Dashkevich
6a5e1ee4fe 8.7.0 2023-12-04 14:31:37 -05:00
André
1866118e6c
fix(loading-spinner): border size costumization (#8369)
Allows to change the border size of the `loading-spinner` component without having to reflect the border size in the pseudo-element margin.

- uses display `flex` to facilitate centering of pseudo-elements
- deletes the pseudo-elements `margin`
2023-12-04 14:26:55 -05:00
Andrea Stagi
824042715a
fix(i18n): new italian labels (#8495)
* fix(i18n): new italian labels

Fix Italian labels according to ones used by Bootstrap Italia (Italian government official library)

* fix(i18n): replace "filmato" with "contenuto multimediale"
2023-12-04 14:24:35 -05:00
Ish
4af7461b9d
feat: Support for nepali language and a small typo fix for hindi language (#8323)
* Create np.json

Language support for Nepali language

* Updated half of the fields

* Final changes for nepali language

* uniform is literllay translated to cloth, rather is should be Consistent

* typo

* final typo fix

---------

Co-authored-by: Dzianis Dashkevich <98566601+dzianis-dashkevich@users.noreply.github.com>
2023-12-04 14:22:20 -05:00