1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-02 09:11:54 +02:00
Commit Graph

3679 Commits

Author SHA1 Message Date
Gary Katsevman
f528767571
fix: update to VHS 2.8.2 (#7242)
Fixes #7240
2021-05-20 15:55:20 -04:00
Gary Katsevman
a4c9b12e79
chore: revert back to gh-release@3.5.0 for now (#7241) 2021-05-20 15:07:18 -04:00
Gary Katsevman
961bf66d57 7.12.2 2021-05-19 14:01:23 -04:00
Gary Katsevman
c4cfa55ad1
fix: update to VHS 2.8.1 (#7238) 2021-05-19 13:41:40 -04:00
weiz18
90ce2d7143
fix(utils): add try and catch for computedStyle (#7214) 2021-05-11 12:58:45 -04:00
Aaron Mertzenich
06cdb6f49f
fix: incorrect focus styles on selected MenuItem (#7202)
Adds a :not() pseudo class to ensure that the MenuItem background color doesn't get incorrectly reset on mouse focus.

Fixes #7200
2021-05-11 12:54:43 -04:00
FredTsang
e9953e59fa
fix: exit full window mode with Esc key (#7224) 2021-05-11 12:54:15 -04:00
mister-ben
0e46624f1a
fix: Better text for exit fullscreen (#7183) 2021-05-10 18:51:32 -04:00
Brandon Casey
39485fc4c9
fix: user and programmatic seeks with live streams (#7210) 2021-05-10 18:42:17 -04:00
mister-ben
d4a08deb10
fix: Don't hide menus with one item and a title (#7215)
Menus with one item are hidden if they have a title, because adding the title increments the hide threshold, but the title is not counted as an item. e.g. the chapters menu if there is a single chapter.
2021-05-10 18:28:31 -04:00
Gary Katsevman
90f3e39b33
chore: update node/nvmrc and various dependencies (#7221)
Fixes #7216, #6933, #6924, #7179
2021-05-04 11:45:59 -04:00
Julien Roncaglia
cb1d29bcb9
chore: update 'global' package in dependencies (#7213) 2021-05-03 17:38:47 -04:00
Owen Edwards
17919ce77b
fix: make Playback Rate control work better with screen readers (#7193)
Add an aria-describedby to the playback rate button.

Improves behavior of #7121.
2021-04-20 19:11:29 -04:00
Gary Katsevman
2c6e4397bb
fix: silence play promise in the play toggle. (#7189)
Fixes #6998
2021-04-16 14:06:19 -04:00
Gary Katsevman
a7cbb2a948 7.12.1 2021-04-13 18:23:08 -04:00
Gary Katsevman
a3bfeb77a6
fix(package): update vtt.js to allow server-side-rendering (#7178) 2021-04-13 17:09:23 -04:00
Gary Katsevman
9abba58def
fix(package): remove remove (#7177)
Fixes #7176
2021-04-13 11:23:11 -04:00
Gary Katsevman
f0d69cde56
fix(package): upgrade VHS to 2.7.1 (#7174) 2021-04-13 10:48:22 -04:00
Gary Katsevman
4238f5c1d8 7.12.0 2021-04-07 11:31:36 -04:00
Gary Katsevman
0d47306a52
feat(package): update VHS to 2.7.0 (#7164) 2021-04-07 11:17:16 -04:00
Brandon Casey
b6412a3358
chore: never skip github actions workflows in main (#7169) 2021-04-07 11:04:53 -04:00
Brandon Casey
4707ce82c0
fix: always have an enabled audio track when switching (#7163) 2021-04-06 16:22:54 -04:00
Gary Katsevman
17a61474d0
perf: wrap prototype methods in handlers in an arrow function (#7060) 2021-03-24 15:38:27 -04:00
Grzegorz Blaszczyk
b2edfd24ac
feat: Add a mouse volume tooltip (#6824) 2021-03-23 18:02:07 -04:00
Ileana Padilla
239c9a1552
feat: enable responsive controls on fullscreen (#7098)
Co-authored-by: Ileana Padilla <ipadilla@brightcove.com>
2021-03-23 17:50:59 -04:00
Alex Barstow
22e9843942
feat: retry on error (#7038)
Add a `retryOnError` option. When set, during source selection, if a source fails to load, we will retry the next item in the sources list. In the future, we may enable this by default.

A source that fails during playback will *not* trigger this behavior.

Fixes #1805.
2021-03-23 17:50:12 -04:00
Owen Edwards
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
Gary Katsevman
3dcf4f9ec2 7.11.8 2021-03-23 17:41:58 -04:00
Thijs Triemstra
7d46f44df9
docs: update note about accessing tech (#7141) 2021-03-23 17:40:49 -04:00
Alex Barstow
b2336aacc9
fix: remove extra timeupdate event when progress controls is disabled (#7142) 2021-03-23 14:56:17 -04:00
Gary Katsevman
0cc8684120 7.11.7 2021-03-12 12:54:24 -05:00
Gary Katsevman
5f765ad5c6
fix(package): update to Video.js HTTP Streaming 2.6.4 (#7136) 2021-03-12 12:42:23 -05:00
Gary Katsevman
57f472078a 7.11.6 2021-03-09 15:39:56 -05:00
Isabelle Ingato
b76e816044
fix: do not preload default text track if preloadTextTracks is false (#7021)
When preloadTextTracks option is set to false, it still preloads the default text track. This leads to duplicate tracks once the mode changes to showing and the track is loaded a second time. This includes the default text track in the behavior defined by the preloadTextTracks option.

Fixes #7019
2021-03-09 15:07:38 -05:00
Łukasz Polowczyk
45eef66b09
fix: add display block to all buttons icon placeholder (#7094)
Fixes #6989
2021-03-09 15:07:14 -05:00
Aaron Mertzenich
1b52e7bea0
fix: focus-visible shouldn't change background styles (#7113)
Only set background:none focus styles on menu
2021-03-09 15:06:35 -05:00
Brandon Casey
6336e573f2
docs: Add liveTracker options to options guide (#7097) 2021-03-09 12:51:52 -05:00
Gary Katsevman
8d0c601c12
fix(package): update to videojs/http-streaming 2.6.3 (#7129) 2021-03-09 12:21:22 -05:00
Gary Katsevman
fbf34e3429
test: a couple of minor fixes, tweak CI config, swap rollup replace plugin (#7128) 2021-03-09 11:41:01 -05:00
Gary Katsevman
3d676d68ca
fix: try enabling liveui on canplay (#7114)
On native playback engines, like Safari, for some streams, seekable and
currentTime won't have correct values until video data has started
loading. Previously, we only tried to turn toggle tracking on
durationchange, now we also do it on canplay.

This is a followup to #7034 which helped prevent the live tracker from
showing up in some cases.
2021-03-08 16:27:53 -05:00
Brandon Casey
0b467041c7
chore: update rollup for upcoming vhs changes (#7075) 2021-03-05 13:13:13 -05:00
FredTsang
dd0c675f0f
docs: fix broken blogpost urls (#7106) 2021-02-22 17:47:55 -05:00
Brandon Casey
ba47953851
chore: video.js debug build (#7082)
Adds a debug build to video.js that does the following:
- Exposes DomData on video.js. DomData our internal event tracking object and should be empty on player dispose.
- Set log level to debug by default.
2021-02-18 10:00:42 -05:00
Gary Katsevman
134f039573
fix: clear progress control related rAFs when tab is hidden (#7099)
The progress control is updated inside of requestAnimationFrames (rAFs). Normally, this is fine. However, when a tab is hidden, rAFs are generally not triggered. So, what happens is that we get a cached rAF from the last time the tab was active. When we come back to be active, we update again, but because we already have a named rAF, we don't clear it out and instead that one gets triggered. This isn't an issue if the video is still playing, because in a second, another rAF will be triggered which will update things. However, if the video has ended, we won't get any more updated and the progress bar will still be in the old position.

Instead, when the document becomes hidden, we should clear out both the SeekBar#update and the Slider#update rAFs. Doing just one, unfortunately, isn't enough. In addition, we also only re-enable the interval if we aren't ended or paused and ignore the update method if the tab is hidden.

Fixes #7086
2021-02-18 09:58:40 -05:00
Gary Katsevman
948fd2c26a 7.11.5 2021-02-04 11:34:11 -05:00
Gary Katsevman
542cead6ea
fix(dom): account for translated parent in pointer position on iOS (#7079)
Since we switched to using adding up offsets to calculate the pointer position relative to the current element, we've had some issues, particularly on iOS, where a translated parent would cause us to miscalculate the position. This is currently a quickfix for the issue, and I'd like to spend some time to figure out a better solution that hopefully won't require us to iterate through the DOM and add up the transform matrix.
2021-02-04 11:33:25 -05:00
Gary Katsevman
541f2e584b
fix(dom): stop findPosition at a fullscreenElement (#7074)
On iPads, if the player is inside a floating div, when fullscreen, we'll have an incorrect offset value. Instead, we should stop counting our offsets once we get to our fullscreen element (i.e. the player) because in fullscreen it's outside the regular flow, and we don't actually want to add offset the float gives us inline.
2021-02-03 17:21:38 -05:00
Gary Katsevman
d546364f81 7.11.4 2021-01-26 13:59:04 -05:00
Gary Katsevman
85575dbaba
fix(evented): log an error on invalid type (#7067)
Follow up from #6982. We previously threw an error, but we've seen it
happen unexpectedly. Instead, we should log an error.
We will still throw an error if the event is undefined or null.

Here, if we have a `log` object on the current object, we should use it,
otherwise, we use a default `log` object.
2021-01-26 13:56:41 -05:00
Gary Katsevman
22b5535187 7.11.3 2021-01-25 13:55:40 -05:00