1
0
mirror of https://github.com/videojs/video.js.git synced 2025-07-03 00:57:02 +02:00
Commit Graph

376 Commits

Author SHA1 Message Date
7883d0a745 Fix broken documentation links (#8422) 2023-09-28 22:21:38 +02:00
560b81a6d9 fix(text): caption settings typo 2023-08-14 15:13:02 +01:00
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
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
7e8bd5ce5a fix(lang): update Japanese translations (#8190) 2023-03-15 10:03:45 -05:00
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
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
b306ce614e feat: improved text tracks settings labels (#8101) 2023-02-06 13:44:24 -06:00
e21d295d77 chore: add missing translations (#8083) 2023-01-23 10:44:10 -08:00
a5e7222353 feat(lang): use less ambiguous text for the fullscreen button when in fullscreen mode (#7856) 2022-11-23 09:49:25 -05:00
ce1baba3cb chore: fix mixed content warnings from netlify (#7946) 2022-10-03 11:07:25 -04:00
ed4524eb01 docs: update FAQ.md to match change in #7892 (#7893) 2022-09-09 13:51:03 -04:00
3c70573fe8 chore: update FAQ redirect (#7892)
Fixes videojs/videojs.com#159
2022-08-24 17:10:45 -04:00
ef7ccfcb2d fix(lang): Improving Russian translation (#7740)
Co-authored-by: meow <woem>
2022-05-20 09:54:37 -04:00
83aa13baeb docs: fix typo in components.html (#7694) 2022-05-16 17:25:29 -04:00
9cec1de915 docs: Redirect guides to videojs.com (#7706)
Co-authored-by: mister-ben <git@misterben.me>
2022-04-06 11:34:18 -04:00
28bdc7d590 feat: easier configuration of buttons and components via options (#7611) 2022-03-21 12:21:26 -04:00
762e7bc751 feat: Audio Only Mode (#7647)
* audioOnlyMode wip

* fix incorrect logs

* add tests

* minor code changes and add another test

* update docs

* fix formatting

* fix typo

* Consolidate conditions

Co-authored-by: Pat O'Neill <pgoneill@gmail.com>

* Compare objects instead of name string

Co-authored-by: Pat O'Neill <pgoneill@gmail.com>

* code review changes

* remove unnecessary equivalence check

Co-authored-by: Gary Katsevman <git@gkatsev.com>

* replace height() with currentHeight()

Co-authored-by: Gary Katsevman <git@gkatsev.com>

* rewrite for async pip and fs handling

* asyncify tests

* update doc

* add test

Co-authored-by: Pat O'Neill <pgoneill@gmail.com>
Co-authored-by: Gary Katsevman <git@gkatsev.com>
2022-03-10 13:13:49 -05:00
a80307fe0d feat: Add Basque (eu) translations (#7625) 2022-03-02 10:44:04 -05:00
64e55f5492 feat: Add audioPosterMode option (#7629) 2022-03-01 15:50:46 -05:00
26209b0dcd fix(lang): remove trailing comma from fr.json (#7657) 2022-02-23 12:57:03 -05:00
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
53cbfc6222 docs: Add some FAQ entries (#7609)
Co-authored-by: Pat O'Neill <pgoneill@gmail.com>
2022-02-08 09:51:24 -05:00
481e809da6 docs: Link to Angular guide in Player Workflows guide (#7635) 2022-02-08 09:49:37 -05:00
67e6ed6fd6 feat: make negative sign on remaining time optional (#7571)
Add a new `displayNegative` option on the remaining time display to not show a negative sign in front of the time.
The default value is true to maintain current behavior.

Closes #7565
2021-12-20 15:37:33 -05:00
749105d32c feat: Add userAction.click to prevent pause/play when player is clicked (#7495)
Pass `false` as `userAction.click` to disable the default click-to-play behavior. Alternatively, pass in a function, to enable custom behavior.

Fixes #7123.
2021-11-10 14:06:25 -05:00
fdb87d8b72 docs(react): fix clear when unmount component (#7433)
Improve documentation on functional components to clean up reference if the component is unmounted.

Fixes #7361
2021-11-10 14:03:39 -05:00
e9e894ffa0 fix: enable liveui on more livestreams (#7502)
Some live streams with a 30s live window can actually fluctuate between below and above the 30s threshold we have. Instead, we should have a slightly lower default to have those streams get the liveui.
2021-11-09 10:13:51 -05:00
e60f2cada5 docs(component.md): fix spelling error (#7498) 2021-11-08 17:41:38 -05:00
3ea078d40b docs(plugins): fix typo in the plugins guide (#7405) 2021-08-30 12:38:32 -04:00
d07a9de820 docs(react): update react functional component tutorial (#7377) 2021-08-23 17:21:47 -04:00
05083bb78d docs(react): Fix typo (#7375)
seperate -> separate
2021-08-12 10:09:07 -04:00
5c2a45bad7 feat(lang): add Romanian language and update translations doc. (#7300) 2021-07-28 17:09:11 -04:00
774f9e7f45 feat(hooks): Error hooks (#7349)
Adding beforeerror and error hooks that make it easier to know when errors occurred on all players and allows intercepting and modifying errors.
2021-07-28 13:32:38 -04:00
2360236bca docs(react): Added a functional React component using React.useEffect (#7203) 2021-07-06 15:49:33 -04:00
0f707876ef fix(lang): improve Hungarian translation (#7289) 2021-06-29 17:52:47 -04:00
b86f083a88 feat: Add option to use full window mode instead of using tech's fullscreen (#7218)
iPhone's native fullscreen isn't always desirable as you can't overlay controls or anything else. Adds an option to prefer "full window" mode over the video el's fullscreen.

If the preferFullWindow option is set to true, on a browser that does not support the proper fullscreen API but does support fullscreen on the video element (i.e. iPhone), then requestFullscreenHelper_() should call enterFullWindow() instead of fullscreen on the tech.
2021-06-08 11:54:33 -04:00
b4ad93a10e feat: Add normalizeAutoplay option to treat autoplay: true as autoplay: "play" (#7190)
This PR adds a new option to treat autoplay: true the same as autoplay: 'play'. In general we want video.js to handle as much of the autoplay logic itself as possible, since the browser's treatment of the video element's autoplay attribute is less predictable. For now the default option value is false, but it may be made the default behavior in a future major version.
2021-06-08 11:03:51 -04:00
35ad17a0ef feat: Add helper classes for 9:16 and 1:1 (#7219)
Fluid mode's automatic detection is nice, but there can be a layout jump once the video dimensions are known. We have the vjs-16-9 and vjs-9-16 classes already, but square and portrait are also common now.
2021-06-08 11:02:57 -04:00
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
7d46f44df9 docs: update note about accessing tech (#7141) 2021-03-23 17:40:49 -04:00
6336e573f2 docs: Add liveTracker options to options guide (#7097) 2021-03-09 12:51:52 -05:00
dd0c675f0f docs: fix broken blogpost urls (#7106) 2021-02-22 17:47:55 -05:00
e240396f5a docs: change master to main (#7050) 2021-01-19 17:41:39 -05:00
f87297b20e docs: Add note to legacy notes (#7022)
People keep finding the v4 legacy docs at docs.videojs.com/docs and Google keeps positioning them highly in search results. This attempts to lessen that.
2021-01-06 12:50:22 -05:00
a000fed222 docs(faq): fixup autoplay blogpost url (#7027)
fixes #6905
2021-01-06 12:48:52 -05:00
503141c75f docs: Remove Flash (#6994) 2020-12-22 14:10:53 -05:00
8476abd186 feat(lang): add Slovene language translation (#6959)
Co-authored-by: Iztok <iztok@abelium.com>
2020-12-11 15:57:34 -05:00
464b971315 feat(lang): add thai language translations (#6945)
Also, update translations needed docs page.
2020-11-16 14:38:02 -05:00
861753017e docs: change blog links to most recent blog version, fix typo (#6904)
Co-authored-by: aminamos <26092352+aminamos@users.noreply.github.com>
2020-11-10 18:10:49 -05:00