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

3815 Commits

Author SHA1 Message Date
André
78cf834e6f
fix: volume button empty space (#7466)
When responsive mode is used and the player layout is small or smaller, an empty space appears to the right of the mute button on hover.

Fixes #7465
2021-11-10 14:04:08 -05:00
Jose Enrique Marquez
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
EdgarsN
b97be4d5cd
feat(lang): Add Latvian (lv) language support (#7468)
Co-authored-by: Edgars Neimanis <neimanis.edgars@gmail.com>
2021-11-10 12:11:40 -05:00
Ikko Ashimine
8e8b7be190
docs: fix typo in html-track-element.js (#7504)
vesion -> version
2021-11-09 10:17:47 -05:00
Gary Katsevman
bcd80f922e
fix: don't let the player be translated except captions (#7474)
This is another follow-up to #6699.

Potentially, it means we could get rid of #6977
2021-11-09 10:17:04 -05:00
itarcontact
b061491832
fix(lang): Update Polish translation (#7499)
Missing Polish translations added.
2021-11-09 10:16:35 -05:00
Gary Katsevman
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
Gary Katsevman
b1760c53ca
feat: update to VHS 2.12.0 (#7503) 2021-11-09 10:13:31 -05:00
iChengbo
e60f2cada5
docs(component.md): fix spelling error (#7498) 2021-11-08 17:41:38 -05:00
Owen Edwards
f326cf3449
fix: set the 'lang' attribute on text track display elements, if the language of the track is known (#7493)
Fixes #7487

Co-authored-by: Gary Katsevman <git@gkatsev.com>
2021-11-02 15:59:03 -04:00
Gary Katsevman
6faad26869
fix(package): update to VHS 2.11.2 (#7484) 2021-10-28 11:10:27 -04:00
Gary Katsevman
4d1fb4ad9f 7.16.0 2021-10-01 13:03:38 -04:00
Gary Katsevman
b05ee9100c
feat(package): update to VHS 2.11.0 (#7459) 2021-10-01 12:55:08 -04:00
KV Pasupuleti
055809626b
feat(lang): add telugu language translations (#7391) 2021-10-01 12:50:07 -04:00
Gary Katsevman
dc1533cf8d 7.15.7 2021-10-01 12:42:29 -04:00
Ileana Padilla
1d91831992
fix: remove rule on small layout (#7449) 2021-09-28 14:37:44 -04:00
Gary Katsevman
fc2ce3af41 7.15.6 2021-09-22 16:51:26 -04:00
Gary Katsevman
029e92ac96
fix: mark global/window/document as external globals (#7438)
built off of the work in https://github.com/videojs/videojs-generate-rollup-config/pull/40
2021-09-22 12:55:17 -04:00
Gary Katsevman
b83abd13fa 7.15.5 2021-09-21 15:52:47 -04:00
Jese Rodriguez
6c68f9554c
fix(package): update VHS to 2.10.3 to fix seeking into a gap (#7436) 2021-09-21 15:50:19 -04:00
Gary Katsevman
6d39ee24b1
fix: remove deprecation of getComponent feature (#7410)
Since Video.js 6, we've removed the deprecated functionality, we no longer need to have a deprecation warning.
2021-09-02 14:35:34 -04:00
Adrian Saiz
3ea078d40b
docs(plugins): fix typo in the plugins guide (#7405) 2021-08-30 12:38:32 -04:00
Gary Katsevman
5cab85f993 7.15.4 2021-08-25 17:01:03 -04:00
Gary Katsevman
dae1266bce
chore: use aws s3 cp rather than sync (#7400)
Sync needs extra permissions, like ListObject, to function, but the keys
we have are the most minimal that are possible. Instead, we should copy
local files unconditionally.
2021-08-25 16:52:51 -04:00
Gary Katsevman
87d4dce5e6 7.15.3 2021-08-24 16:45:30 -04:00
Gary Katsevman
1ddcfde086
fix: update VHS to fix xmldom warning (#7395)
Fixes #7389
2021-08-24 16:44:49 -04:00
Gary Katsevman
97b7a2e007 7.15.2 2021-08-23 18:31:19 -04:00
Gary Katsevman
af484eccbe
chore: specify bucket for CDN push (#7393) 2021-08-23 18:30:56 -04:00
Gary Katsevman
5acf619e99 7.15.1 2021-08-23 17:34:50 -04:00
FredTsang
d07a9de820
docs(react): update react functional component tutorial (#7377) 2021-08-23 17:21:47 -04:00
Gary Katsevman
957c6fa009
chore: add a release and deploy Github Action (#7385)
The release job will do an npm publish and a github-release.
It's based on videojs/.github/github-release.yml.
The new version is published as `next` and requires to be promoted to
latest manually.

The deploy job, should do an aws s3 sync to upload the files to S3 for
us. It uses a Github Environment secrets. This is so that we can require
a user to approve the CDN upload.
2021-08-23 15:30:05 -04:00
John Caruso
1f4d95b050
fix: prevent cached inactivityTimeout from being overwritten with 0 (#7383)
If multiple `mouseenter` events fire on the controlBar before a `mouseleave` event occurs, the cached inactivityTimeout value will get overwitten with a 0. This prevents the control bar from being hidden when the inactivity timeout is reached because the hide call is skipped when inactivityTimeout <= 0.

The circumstances around multiple `mouseenter` events firing before a `mouseleave` event are when a menubutton on the toolbar has its `update()` method called: the menu popup is disposed but a `mouseleave` event isn't fired for it.

Fixes #7313
2021-08-19 15:33:37 -04:00
Andreas Venturini
9e82035b19
fix(lang): fix typo in de locale for progress bar (#7380) 2021-08-17 12:05:05 -04:00
Ikko Ashimine
05083bb78d
docs(react): Fix typo (#7375)
seperate -> separate
2021-08-12 10:09:07 -04:00
Gary Katsevman
ef1fce6822 7.15.0 2021-07-28 17:33:43 -04:00
Gary Katsevman
8afde12e45
fix(package): update to VHS 2.10.0 (#7351) 2021-07-28 17:29:16 -04:00
Derek Kwiatkowski
5c2a45bad7
feat(lang): add Romanian language and update translations doc. (#7300) 2021-07-28 17:09:11 -04:00
Brandon Casey
eb8f802391
refactor: remove most usage of innerHTML (#7337) 2021-07-28 16:42:23 -04:00
Brandon Casey
ada25c4c76
fix: evented should cleanup dom data (#7350) 2021-07-28 15:55:35 -04:00
Gary Katsevman
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
Gary Katsevman
ad9546cad8
feat(time-ranges): make TimeRanges iteratable if Symbol.iterator exists (#7330) 2021-07-27 12:33:45 -04:00
Brandon Casey
2ad4d60dac
fix: prevent control bar clicks/taps with while user inactive (#7329) 2021-07-27 12:33:16 -04:00
Hardik Choudhary
e90ae32fec
feat(lang): add Hindi Language translation (#7327) 2021-07-27 12:02:44 -04:00
Chocobozzz
956379c570
fix: use click event for tech click event (#7302)
Flash is not really a thing anymore.
Prevent some weird behaviour when pressing left click outside the player, move the custor inside the player and release the button
2021-07-27 12:01:02 -04:00
Gary Katsevman
c6991402b7
feat(package): update to @videojs/xhr@2.6 to add httpHandler helper (#7348) 2021-07-27 12:00:06 -04:00
Gary Katsevman
3777f9400b 7.14.3 2021-07-26 19:39:17 -04:00
Gary Katsevman
b483a7613f
fix: don't add anchor to DOM for getAbsoluteURL (#7336) 2021-07-22 16:01:12 -04:00
Gary Katsevman
b3acf66364
fix: remove IE8 url parsing workaround (#7334) 2021-07-22 13:14:26 -04:00
Gary Katsevman
bba6e17925 7.14.2 2021-07-19 10:54:26 -04:00
Travis Bader
2990cc7d65 fix(dom): in removeClass, check element for null in case of a disposed player (#6701) 2021-07-15 11:16:21 -04:00