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

3741 Commits

Author SHA1 Message Date
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
Gary Katsevman
9ef0c5ac44 7.14.1 2021-07-14 18:47:27 -04:00
Gary Katsevman
fff0611a35
fix(package): update to VHS 2.9.2 (#7320) 2021-07-14 18:34:42 -04:00
hcbd
2360236bca
docs(react): Added a functional React component using React.useEffect (#7203) 2021-07-06 15:49:33 -04:00
Gary Katsevman
14da28dabe
fix: remove loading spinner on ended (#7311)
If we've ended, there's no point in having the loading spinner. In
addition, there are cases where we get a waiting event immediately
before ended, and this works around that.

Fixes videojs/http-streaming#1156
2021-07-06 15:42:43 -04:00
Gary Katsevman
508a424b02
fix: all !important properties of vjs-lock-showing (#7312) 2021-07-06 15:42:24 -04:00
Gary Katsevman
3921b7febf
fix: properly return promise from requestFullscreen and exitFullscreen (#7299)
Mapping the promise returned from the helpers to the executor's resolve, and reject
methods. We also need to catch the error in the promise chain that's
created inside exitFullscreenHelper_.

Fixes #7298.
2021-07-06 14:56:02 -04:00
Brandon Casey
fab6e87205
chore: use setup-node cache and remove individual cache step (#7310) 2021-07-06 11:08:32 -04:00
Gary Katsevman
a8a5e02cba 7.14.0 2021-06-30 12:57:25 -04:00
Alex Barstow
c74c27d99b
feat: add ended getter middleware (#7287)
One thing to note is that this won't affect the play toggle from changing to the replay button on ended because it only listens to the ended event. Otherwise, this works fine.
2021-06-30 12:50:05 -04:00
Gary Katsevman
8caeda969d 7.13.4 2021-06-30 12:45:45 -04:00
SEGUS
fbcfb7b014
fix(lang): add some translations to es.json (#6822) 2021-06-30 12:33:56 -04:00
Roman Pougatchev
f9fb1d3f51
fix: throw error on muted resolution rejection during autoplay (#7293)
Previously, when autoplay was set to any or muted, we would accidentally swallow the autoplay rejection when we reset the muted state back to what it was. Instead, we want to re-throw the error.
To get it working, we also had to update our tests to try/catch in our fake promise.
2021-06-30 12:28:41 -04:00
David Brutoczki
0f707876ef
fix(lang): improve Hungarian translation (#7289) 2021-06-29 17:52:47 -04:00
Alec Winograd
a221be1d83
fix(event): event polyfill detection compatibility with react-native-web (#7286)
Fixes #7259
2021-06-24 16:54:02 -04:00
Brandon Casey
4cecbdab45
chore: add a code coverage ci workflow (#7282) 2021-06-23 00:53:52 -04:00
Gary Katsevman
9cfc15cc83 7.13.3 2021-06-22 22:38:37 -04:00
Gary Katsevman
4b50f82277 chore: republish with VHS 2.9.1 2021-06-22 22:35:52 -04:00
Gary Katsevman
a5f40d08fa 7.13.2 2021-06-22 13:25:42 -04:00
Gary Katsevman
cee5fa35be
fix(package): update to VHS 2.9.1 (#7284)
Fixes #7230
2021-06-22 13:22:18 -04:00
Gary Katsevman
1fc1c586a2 7.13.1 2021-06-14 15:31:56 -04:00
Gary Katsevman
688879858c
fix: do a null check on playbackRates player method (#7273) 2021-06-14 14:58:53 -04:00
Gary Katsevman
28978edab9 7.13.0 2021-06-11 13:03:57 -04:00
Gary Katsevman
2ea05b42c2
feat: update to VHS@2.9.0 and mpd-parser@0.17.0 (#7269) 2021-06-11 13:01:53 -04:00
mister-ben
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