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

3720 Commits

Author SHA1 Message Date
Gary Katsevman
f672af8dfb
chore(package): update to @videojs/http-streaming@2.4.2 (#7042) 2021-01-14 16:09:27 -05:00
Brandon Casey
5904ec2d7c
test: update ci workflow to prevent install failures (#7041) 2021-01-14 15:46:13 -05:00
Brandon Casey
330c82c88f
fix: set liveWindow to 0 liveCurrentTime is Infinity (#7034)
Fixes an issue in native Safari and Android HLS playback where liveCurrentTime returns Infinity (as we don't have a seekableEnd or seekableEnd is actually Infinity). Which causes the new live ui to show up when we don't really have a live window.

Instead of returning Infinity when liveCurrentTime is Infinity, return 0. So that everything knows that we do not have a seekable window of live playback.
2021-01-11 17:24:53 -05:00
mister-ben
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
mister-ben
661962cb3a
fix(player): Ensure fluid works when dimensions not initially known (#7023)
The video dimensions aren't necessarily known at loadedmetadata particularly with native playback on iOS. In fluid mode, the player defaults to 16:9 and does not update once the dimensions are known.

- Updates player styles on resize events.
- Fixes arguments passed to addEventedCallback so the callbacks are executed.

Fixes #6939
2021-01-06 12:49:57 -05:00
Gary Katsevman
a000fed222
docs(faq): fixup autoplay blogpost url (#7027)
fixes #6905
2021-01-06 12:48:52 -05:00
Gary Katsevman
4193ffdc8f 7.11.1 2020-12-22 14:32:59 -05:00
Gary Katsevman
ead775b095
fix(package): update to @videojs/http-streaming@2.4.1 (#7010) 2020-12-22 14:25:14 -05:00
mister-ben
503141c75f
docs: Remove Flash (#6994) 2020-12-22 14:10:53 -05:00
Armin
a35a1217f0
fix(MapSham): fix set method to use map property (#7000) 2020-12-17 17:19:17 -05:00
Brandon Casey
11d37e28fd
fix: clear readyQueue with dispose (#6967) 2020-12-11 16:04:09 -05:00
kontrollanten
3e30f83bb1
fix(time-display): add a null check for text node (#6977)
fixes #6699
closes #6700
2020-12-11 16:01:36 -05:00
Gary Katsevman
0631f037eb
fix(package): update to @videojs/http-streaming@2.4.0 (#6986) 2020-12-11 15:58:40 -05:00
Brandon Casey
799616deee
fix: play progress time tooltip from jittering during live (#6968) 2020-12-11 15:57:51 -05:00
icokk
8476abd186
feat(lang): add Slovene language translation (#6959)
Co-authored-by: Iztok <iztok@abelium.com>
2020-12-11 15:57:34 -05:00
Gary Katsevman
63752f3727
fix(rollup): browser globals shouldn't be external (#6954)
This fixes an issue with requirejs where global/window and
global/document were being marked as dependencies. Instead, this makes
sure that the module gets inlines properly and not worked as a dep for
requirejs.

Fixes #6443, #6272, #6212, #5680.
2020-12-11 15:55:27 -05:00
Brandon Casey
5a13e90574
chore: move unit test build right below main for faster watch (#6953) 2020-12-01 11:17:08 -05:00
Gary Katsevman
08feeed61f 7.11.0 2020-11-16 15:26:57 -05:00
Gary Katsevman
ca2d78fcd4
chore(sandbox): switch all urls to https (#6946) 2020-11-16 15:13:27 -05:00
Kevin Kipp
dcce0e908d
fix: cast TOUCH_ENABLED to boolean (#6943)
This needs to be cast before exporting so users
can confidently pass it into their videojs config
and not worry about videojs internals doing strict
equality checks against true/false.

Co-authored-by: Kevin Kipp <kkipp@cloudflare.com>
2020-11-16 14:46:21 -05:00
genofire
3901ab0e72
fix(css): set seek to live button's align-items prop to center (#6942)
Fixes https://github.com/videojs/themes/issues/7
2020-11-16 14:44:29 -05:00
Jonathan Yeong
464b971315
feat(lang): add thai language translations (#6945)
Also, update translations needed docs page.
2020-11-16 14:38:02 -05:00
claudiah12
ee0637c078
feat(track): make label property mutable and fire a labelchange event when the label is changed (#6928)
Allows the editing of a track's label after its creation. Menu buttons will listen for the labelchange event and update their content accordingly.

This is technically divergent from the spec, which says it's readonly, but it can be useful for Video.js users.

Co-authored-by: Claudia Hinkle <chinkle@chinkle-mn1.linkedin.biz>
2020-11-10 18:11:53 -05:00
Zenon Mousmoulas
0140b28cc3
fix: always set tabIndex to restore keydown a11y (#6871)
Skipping the tabIndex property on created elements due to #6145
optimizations blocks them from receiving keyboard events, due to not
being focusable; for example this breaks closing ModalDialog elements by
pressing Escape.
Fix this by always setting tabIndex, as the element may return the same
value even though the property has not been explicitly set.

Fixes #6870
2020-11-10 18:10:59 -05:00
Amin
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
Aaron Mertzenich
694fe0f787
fix(menu): focus correct MenuItem on keyboard open (#6914)
Closes #6912

Co-authored-by: Aaron Mertzenich <aaron.mertzenich@sonicfoundry.net>
2020-11-10 18:10:25 -05:00
Gary Katsevman
a803484a39
feat(tech): add a scrubbing getter. (#6920)
This is helpful for source handlers and anything else that could have
customer behavior for when we're scrubbing or not.
2020-11-10 18:10:04 -05:00
Marco Del Toro Barragan
a0d09c107a
feat: trigger languagechange event on a language change (#6891) 2020-11-10 18:09:37 -05:00
Gary Katsevman
f74e45b904
fix(package): update to @videojs/http-streaming@2.3.0 (#6941) 2020-11-10 18:08:59 -05:00
Gary Katsevman
6a28562d74
chore: setup Github CI (#6940) 2020-11-10 17:45:26 -05:00
Gary Katsevman
ade05e8e8a 7.10.2 2020-11-04 11:54:46 -05:00
Gary Katsevman
9d9bbfe4de
fix(package): update to VHS 2.2.4 (#6925)
This fixes an issue where subtitles were getting disabled when where
in-manifest.

Also, fixes vhs-util versions.

Fixes #6909
2020-11-04 11:53:01 -05:00
Gary Katsevman
1cbea93b3e 7.10.1 2020-10-15 10:10:03 -04:00
Gary Katsevman
778ec756ee 7.10.0 2020-10-14 16:27:09 -04:00
Gary Katsevman
4a6a46a204
feat: update to @videojs/http-streaming@2.2.3 (#6867) 2020-10-14 16:18:50 -04:00
Gary Katsevman
5e173b0f93 7.9.7 2020-10-06 10:28:54 -04:00
Gary Katsevman
affc0611d9
fix(text-track): don't overlap captions when font-size changes (#6874)
For whatever reason, when the font size for text tracks is changed in
the text track settings dialog, we set a bottom of 2px on the cue.
This was added as part of the initial vtt work for Video.js in
4e5c28cc56 (diff-8169d53aa7eee6cab5f85b6641ef3117R176).
However, this doesn't seem to be doing anything right now and having it
means that when font-size is changed, multiple cues end up with a button
value of 2px causing them to overlap and obscure each other.

This works fine if the cues are positioned away from each other,
however, if multiple cues are positioned by default and a large font
size is used, while they will now stay on their lines, they may
partially obscure each other. This does not fix that issue and may
require modification (addition of overrides) to vtt.js to properly
support.
2020-10-06 10:18:23 -04:00
Gary Katsevman
8e5a1af826 7.9.6 2020-10-01 11:19:02 -04:00
Gary Katsevman
1963086aef
fix(dom): vertical getPointerPosition value (#6864)
From my understand, in the changes #5773, the Y position of all the
boxes is already calculated and accounted for in the offsetY value we
get. However, because the HTML coordinate system has Y=0 at the top,
when we do offsetY/boxH, we get a position relative to the top of the
element. However, we expect that position relative to the "start" of the
slider, or the bottom of it. Therefore, we want to get the inverse
value, which is '1 - clamp(offsetY/boxH)'.

Fixes #6863
2020-10-01 11:16:53 -04:00
Tim Gates
f22ead10f0
docs: Fix simple typo, intial -> initial (#6851)
There is a small typo in src/js/player.js, src/js/tech/html5.js, test/unit/sourceset.test.js.

Should read `initial` rather than `intial`.
2020-09-22 14:38:19 -04:00
Gary Katsevman
cb70ea84a1 7.9.5 2020-09-10 11:33:26 -04:00
Gary Katsevman
7373e68031 7.9.4 2020-09-10 11:30:39 -04:00
Gary Katsevman
7192be6257
chore(package): Update @videojs/http-streaming to 1.13.4 (#6839)
Fixes #6812
2020-09-09 15:16:58 -04:00
Samuel Burbano
c4c8fc1caf fix: Better mouse position handling (#5773)
This uses offsetX and offsetY on the MouseEvents which helps account for transforms on the player. Unfortunately, this isn't available on TouchEvents, so, while this helps desktop devices with using a mouse, it doesn't help mobile devices using touch.

Fixes #6726, fixes #1102.
2020-08-31 12:32:57 -04:00
Gary Katsevman
c64239f20c 7.9.3 2020-08-17 15:45:22 -04:00
Gary Katsevman
c91b510ef2
fix(tech): add abstract setScrubbing in tech.js (#6808) 2020-08-17 15:15:32 -04:00
Pavel Chuchuva
efa839bb88
docs(README): fix link to getting Video.js from npm (#6761) 2020-08-13 08:48:02 -04:00
mister-ben
88850e94af
fix(lang): Add PiP to de (#6803) 2020-08-13 08:47:11 -04:00
Markus Amalthea Magnuson
1761fa5976
docs: fix typo (#6760) 2020-08-06 01:42:34 -04:00
Gary Katsevman
179817a987 7.9.2 2020-07-20 17:03:31 -04:00