1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-06 06:50:51 +02:00
Commit Graph

3360 Commits

Author SHA1 Message Date
Kevin Brogan
237b68b561 fix: warn on element not in DOM even when from another document (#5831) 2019-03-18 14:42:38 -04:00
Quentí
ea8c42691a fix(lang): update and correct occitan translations (#5829) 2019-03-18 14:35:37 -04:00
Gary Katsevman
f8b7dd4ed3
fix: if play is delayed till loadstart, call load (#5822)
In Safari, if we call play early and we are going to be waiting till
loadstart, it's possible this will take too long for the user activition
flag to still be available. In this case, we should call load() on the
player to prime the video element so for when loadstart happens.
2019-03-18 14:33:55 -04:00
Grzegorz Blaszczyk
d5a3234082 fix: change max height of menus based on responsive classes. (#5806)
Fixes #5524
2019-03-18 14:32:25 -04:00
greenkeeper[bot]
ae378c6854 fix(package): update @videojs/http-streaming to version 1.9.1 🚀 (#5840) 2019-03-12 14:48:56 -04:00
greenkeeper[bot]
d7379f09da chore(package): update videojs-generate-karma-config to version 5.1.0 🚀 (#5843)
* chore(package): update videojs-generate-karma-config to version 5.1.0

* chore(package): update lockfile package-lock.json
2019-03-12 14:48:03 -04:00
Chuck Wilson
e612056bfa docs(audiotracks): correct typo (#5816) 2019-02-22 13:46:53 -05:00
Gary Katsevman
de9fb58761
chore(package): update patch-package to version 6.0.2 (#5792)
Closes #5769
2019-02-12 10:24:00 -05:00
Gary Katsevman
b64ecde05d
chore: pin to firefox 64 (#5793)
Firefox 65 update on Browserstack is causing issues with our builds. We should pin to firefox 64 until we have time to investigate.

Also, add a commented out snippet to enable video recording on browserstack for when we see issues.
2019-02-12 10:10:37 -05:00
Samuel Burbano Ramos
a72d861a95 fix: add inactivityTimeout to reset cache method (#5788) 2019-02-12 10:10:09 -05:00
Grzegorz Blaszczyk
65beb5a79c docs: fixes the return value type of the loop method. (#5789) 2019-02-11 14:07:34 -05:00
Vladimir
a359b6a462 fix icon pos (#5785) 2019-02-11 14:04:17 -05:00
mister-ben
76cc310dac docs: Update format information (#5783) 2019-02-11 14:03:30 -05:00
greenkeeper[bot]
3400dc62b6 chore(package): update @videojs/http-streaming to version 1.9.0 🚀 (#5784) 2019-02-08 13:51:52 -05:00
Gary Katsevman
c1907df579 7.5.0 2019-01-25 15:20:16 -05:00
Gary Katsevman
85aa96f614 ignore: update package-lock 2019-01-25 15:20:09 -05:00
Liu Ruen-shen
259ce71ee7 fix: remove event handlers when menu item is removed (#5748) 2019-01-25 14:26:36 -05:00
Owen Edwards
e8909231bd feat(player): add option to disable or override double-click handling. (#5611)
`userActions.doubleClick` can be set to false to disable double click to fullscreen. Can be set to a function to override behavior.

Fixes #5604.
2019-01-25 14:18:33 -05:00
Owen Edwards
61053bf674 feat: add hotkeys support ("m", "f", "k", and Space) (#5571)
Extend keyboard support for the SeekBar, and pass unhandled keydown events from components back to the player.
Switch from raw keycodes to the keycode module.

Using `userActions.hotkeys`, which can either be a function to match the hotkeys plugin, or an object with properties like `fullscreenKey`, see the documentation for more info.

This is currently off by default, we will consider turning it on by default in the future, see #5765.

Fixes #4048, fixes #3022.
2019-01-25 14:10:29 -05:00
greenkeeper[bot]
9786d8a29f chore(package): update karma to version 4.0.0 🚀 (#5764) 2019-01-25 13:24:49 -05:00
Evan Farina
d94771f9bd fix(resize-manager): Prevent tabbing into RM and hide from Screen Readers (#5754)
The ResizeManager's iframe element is able to be focused via tabbing, which results in a bad user experience for users that rely on a screen reader to navigate the video and its sibling elements. The fix is to set the tabIndex to "-1", and the aria-hidden property to true for good measure.
2019-01-22 16:36:20 -05:00
Gary Katsevman
1c0fa32b3a
fix(fs): fix double fullscreenchange event (#5756)
This reverts the previous fix (2bc90a1)
and also simplifies handling. Seems like this works a lot better while
also ensuring that the vjs-fullscreen class is still on the player.

Fixes #5685, fixes #5745
2019-01-22 16:34:26 -05:00
Miguel A. Bouzada
1e53dfe8a0 fix(lang): Galician translation update (gl.json) (#5736)
Fixes #5718
2019-01-22 16:32:44 -05:00
chrisboustead
2f0834f43f fix(menu-button): make menu button title a component (#5722)
Fixes #3612, fixes #5759
2019-01-18 14:56:58 -05:00
Thijs Triemstra
4b11a4e2b5 docs: use https links (#5749) 2019-01-18 12:07:24 -05:00
greenkeeper[bot]
72988d341c chore(package): update remark-validate-links to version 8.0.0 🚀 (#5740) 2019-01-16 21:57:33 -05:00
greenkeeper[bot]
a071dd8b6f feat(package): update @videojs/http-streaming to version 1.8.0 🚀 (#5743) 2019-01-16 21:56:12 -05:00
greenkeeper[bot]
6910d39912 chore(package): update filesize to version 4.0.0 🚀 (#5746) 2019-01-16 21:55:34 -05:00
Brandon Casey
144907faeb chore: fix xvfb in travis config, patch safari karma launchers (#5755) 2019-01-15 16:13:43 -05:00
Pat O'Neill
b27f71347e fix: TextTrackMenuItem components should not disable text tracks of different kind(s). (#5741) 2019-01-10 14:24:15 -05:00
Henrique Lima
175f773253 feat: reset player ui on Player#reset (#5684)
Fixes #4683
2019-01-08 14:15:51 -05:00
dustin71728
dd63cf94d5 fix: remove child from old parent when moving to new parent via addChild (#5702)
A child component may have been assigned to another
parent before assigning that child component to the
new parent via "addChild" method. In this case, the
original parent should remove the child then it can
be safely added back to the new parent. This commit
will keep the parent's "children_" and its DOM
element's child nodes in the consistent state.
2019-01-08 14:14:46 -05:00
Gary Katsevman
f02fb1b801
fix(seekbar): don't disable if live tracker's seekable is infinity (#5721)
This was done to make the behavior on Android with HLS live streams better but the it's opening us up to too many potential issues, like a user not being able to properly disable the control bar, that we should just back it out.
2019-01-08 14:13:50 -05:00
Gary Katsevman
544ed9df34
fix(player): remove vjs-ended class on seeked (#5728)
Whenever we seek after the video has ended, we are no longer ended and
therefore we should remove the vjs-ended class.

Fixes #5654.
2019-01-08 11:28:44 -05:00
Gary Katsevman
2f00a68a51
fix(fs): make sure there's only one fullscreenchange event (#5686)
Before the fullscreen API was un-prefixed, we listened to triggered a
`fullscreenchange` event on the player manually. This worked fine
because a prefixed `fullscreenchange` event was triggered on the player
element itself. But when it was unprefixed, we ended up with two events
now, the unprefixed event and the one we triggered.

Instead, we should listen the event the browser supports and re-trigger
it as the unprefixed event as necessary.

We also make sure that the handler gets calls when the document level
fullscreenchange handler gets called so that it is cancelled properly.

Fixes #5685.
2019-01-07 16:38:47 -05:00
greenkeeper[bot]
513168f6d3 chore(package): update rollup-plugin-progress to version 1.0.0 🚀 (#5729) 2019-01-07 15:09:48 -05:00
greenkeeper[bot]
67a437b469 chore(package): update qunit to version 2.9.1 🚀 (#5735) 2019-01-07 14:42:10 -05:00
Beatriz Mendes
9a8376e1f4 fix(remaining-time-display): make the '-' be visual and not readable by screen readers (#5671)
Fixes #5168
2019-01-04 18:15:25 -05:00
Gary Katsevman
3e3387fbc6
chore(package): update rollup to version 1.0.1 (#5727)
Closes #5715
2019-01-04 12:38:47 -05:00
Pat O'Neill
4c9e09d460 fix: make sure sources, volume, and playback rate are reset along with the player (#5676)
Clear out the player cache_ on reset.

Fixes #5675
2019-01-03 15:14:54 -05:00
Tiago Fragoso
b02181b9fc feat: Add vjs-touch-enabled class for touch supporting devices (#5663)
Fixes #2999
2019-01-03 13:50:48 -05:00
Pat O'Neill
874cc21a4e feat: Add loadMedia and getMedia methods (#5652)
`loadMedia` accepts a MediaObject and an optional ready handler. It'll reset the player -- including text tracks, poster, and source -- before setting the new provided media, which include sources, poster, text tracks.
`getMedia` will return either the provided media object or the currently set values for sources, text tracks, and poster.

Fixes #4342
2019-01-03 13:49:34 -05:00
greenkeeper[bot]
3d093ede98 fix(package): update @videojs/http-streaming to version 1.6.0 🚀 (#5705) 2018-12-26 13:26:24 -05:00
Luis
0e69ce96c3 fix: css animation shorthand property order (#5687) 2018-12-26 13:04:16 -05:00
JoaoAlves
6ebc7727ef fix: Control-bar autohide when cursor placed over it #5258 (#5692)
Listen to 'mouseenter' and 'mouseleave' events when triggered in the control-bar and temporarily sets inactivity timeout to zero before restoring it.

Closes #5258
2018-12-26 13:03:36 -05:00
Grzegorz Blaszczyk
f38726e99a fix(lang): adds sv translation used by liveui component (#5704) 2018-12-26 13:02:19 -05:00
greenkeeper[bot]
f0ba1f5b2a chore(package): update rollup to version 0.68.0 🚀 (#5690) 2018-12-18 15:32:05 -05:00
Gary Katsevman
30d0b9812e
chore(package): update babel to version 7.2.2 (#5697)
Closes #5689
2018-12-18 11:38:10 -05:00
Brandon Casey
c1475819b2 docs(liveui): Add a guide for the live ui and live api (#5677)
Add documentation of the new line ui feature.
2018-12-18 11:12:12 -05:00
Gary Katsevman
bc7d530d3e 7.4.1 2018-12-11 16:52:24 -05:00