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

3354 Commits

Author SHA1 Message Date
Owen Edwards
197d81b636 chore(package): Run npm audit fix (but roll back videojs-standard version) (#5386) 2018-09-05 18:05:30 -07:00
greenkeeper[bot]
6e6ade03aa chore(package): update rollup to version 0.65.0 🚀 (#5400) 2018-09-04 17:05:13 -07:00
greenkeeper[bot]
335a0c8107 fix(package): update @videojs/http-streaming to version 1.2.5 🚀 (#5399) 2018-09-04 17:04:54 -07:00
Gary Katsevman
96ae3c2aa5
chore(package): update grunt-cli to version 1.3.1 (#5409)
Closes #5383
2018-09-04 16:50:54 -07:00
Adam Eisenreich
19ee7df2fe fix(lang): Fixed typos in cs translation (#5407) 2018-09-04 16:35:33 -07:00
Brandon Casey
3744df1680
test: fix travis ci issues with resize-manager tests (#5390) 2018-08-28 16:24:26 -04:00
Gary Katsevman
4a299a7ffa 7.2.2 2018-08-14 17:12:43 -04:00
Gary Katsevman
8e9d92cc98
fix: add debounced.cancel and use it in ResizeManager (#5378)
It's possible that ResizeManager will trigger its debounce handler but
then get disposed before the handler runs. This can cause tests to fail,
so, instead, we should cancel the debounce when ResizeManager is
disposed.
2018-08-13 16:39:50 -04:00
greenkeeper[bot]
c3098eeadc fix(package): update @videojs/http-streaming to version 1.2.4 🚀 (#5377)
Fixes #5044
2018-08-13 13:55:30 -04:00
Gary Katsevman
e9f754b112 7.2.1 2018-08-13 12:09:56 -04:00
Brandon Casey
58405fdf78 fix: always return a promise from play, if supported (#5227)
If Promise is available or if Promise is polyfilled, then we'll return a new Promise from `play()` that will get fulfilled with the value returned from the `play()` method. This means that on IE11, this promise will get resolved when we call `play()` even if play doesn't succeed. We will have a follow-on PR to polyfill this behavior and resolve or reject the promise for browsers like IE11 that don't return a promise from `play()`.
2018-08-10 16:27:05 -04:00
greenkeeper[bot]
6893091f84 chore(package): update karma to version 3.0.0 🚀 (#5370)
Karma 3.0.0 drops support for node 4.
2018-08-10 16:24:03 -04:00
Brandon Casey
6f072d8e2f fix: call component dispose in resize manager to fix leak (#5369)
Because we add Touch Activity in the parent class and those don't actually get removed in Resize Manager we leak on every dispose. Calling super.dispose() cleans them up because we remove our list of handlers via a call to DomData.removeData

Fixes #5339
2018-08-10 16:21:13 -04:00
Gary Katsevman
db4b89434a
fix(package): update @videojs/http-streaming to version 1.2.3 (#5368)
Closes #5365
2018-08-10 15:13:55 -04:00
Gary Katsevman
9c00267728
chore(https): update a lot of links to be https (#5372) 2018-08-10 15:13:32 -04:00
Gary Katsevman
9cb1ba5ae9
fix(sourceset): ignore blob urls when updating source cache (#5371)
It's possible for us to get a blob url for sourceset, but when we do, we
shouldn't update the source caches with that information.

blob urls can arise when playback is done via Media Source Extension (MSE) such as m3u8 sources with @videojs/http-streaming (VHS).
2018-08-10 15:13:21 -04:00
Gary Katsevman
16f4e92eca
chore(package): update rollup to version 0.64.1 (#5367)
Closes #5363
2018-08-09 15:06:21 -04:00
Ahmed Romih
4b666f9c42 fix: change time tooltips to be absolutely positioned (#5355)
Fixes #5351
2018-07-31 16:40:38 -04:00
Gary Katsevman
3b8df42ef9 7.2.0 2018-07-26 16:10:59 -04:00
Chocobozzz
5e21ebbd2b fix: subtitles/captions freeze when using uglify (#5346)
Angular CLI, and potentially other projects, may use the "pure_getters" compression option of uglify which will end up removing the getter line we use for side-effects to update the active cues. This update makes sure that the line doesn't get removed.

Fixes #5131
2018-07-26 14:16:03 -04:00
Gary Katsevman
8c92cbfb3e
feat: async change events in TextTrackList with EventTarget#queueTrigger (#5332)
Trigger the change event on the next tick. This means that multiple changes to a track's mode will only result in a single change event on its associated TextTrackList rather than 3 events as it may be currently.

Fixes #5159
2018-07-25 17:33:30 -04:00
Brandon Casey
31a0bac823 feat(plugins): allow plugin deregistration from videojs (#5273)
This exposes `deregisterPlugin` on the videojs alongside `registerPlugin`.
2018-07-24 16:26:07 -04:00
gstrat88
fd4c6e12d6 feat(player): remove text tracks on Player#reset (#5327)
Closes #5140
2018-07-24 16:08:44 -04:00
Mike Reinstein
d773cd4feb docs: remove duplicate @deprecated which throws error when minifying via google closure compiler (#5342) 2018-07-24 15:57:29 -04:00
greenkeeper[bot]
f27387319e chore(package): update postcss-cli to version 6.0.0 🚀 (#5329) 2018-07-24 15:34:37 -04:00
Gary Katsevman
45286594df
chore(package): update rollup-plugin-filesize to version 4.0.1 (#5333)
Closes #5331
2018-07-24 13:56:41 -04:00
Gary Katsevman
7b6aa5c03d
fix(package): update @videojs/http-streaming to version 1.2.1 (#5334)
Closes #5321
2018-07-24 13:56:28 -04:00
Gary Katsevman
80bae7286b
chore(package): update autoprefixer to version 9.0.1 (#5340)
Closes #5322
2018-07-24 13:56:08 -04:00
Gary Katsevman
391434dd84
chore(package): update rollup to version 0.63.4 (#5341)
Closes #5326
2018-07-24 13:55:52 -04:00
Adam Eisenreich
e63d2353e4 fix(lang): Added all missing translation for CZ_cs (#5311) 2018-07-24 13:55:28 -04:00
Adam Eisenreich
821b46d600 fix(lang): add a missing translation in sk.json (#5324) 2018-07-24 13:54:53 -04:00
Gary Katsevman
e63776862f
chore(welcome bot): add welcome bot config (#5313) 2018-07-11 15:15:37 -04:00
Gary Katsevman
b039cfe588 7.1.0 2018-07-06 15:20:19 -04:00
Gary Katsevman
da5a59000d
chore(package): upgrade to VHS 1.1.0 (#5305)
Upgrade to VHS 1.1.0 to pick up the easier overrideNative option.
2018-07-06 14:41:49 -04:00
Gary Katsevman
781a6d87c6
feat(middleware): make setSource be optional (#5295)
setSource is useful if you care to be fiddling with the source or doing some work depending on what source is set. However, sometimes, you don't need a setSource and want the middleware to always be selected.
Now, if setSource is missing, it will implicitly be included in the middleware chain.
2018-07-06 14:16:16 -04:00
Gary Katsevman
361dc76e12
revert: "fix: Allow evented objects, such as components and plugins, to listen to the window object in addition to DOM objects. (#5255)" (#5301)
This reverts commit 7fd29b4f18.

With this change, playing back HLS content via VHS caused an infinite
event loop to be printed out. See issue #5281
2018-07-06 13:51:22 -04:00
Gary Katsevman
8257a372e1
chore(package): update grunt-zip to version 0.18.1 🚀 (#5300)
Closes #5297
2018-07-05 17:23:31 -04:00
Gary Katsevman
d7f27b7112
perf: setTimeout and requestAnimationFrame memory leak (#5294)
Our setTimeout and requestAnimationFrame methods added dispose handlers so that they get cancelled if the component is disposed before they get a chance to run. However, we were only clearing out these dispose handlers if we cleared the timeout or the rAF manually. Instead make sure that we remove the dispose handler when it is no longer needed.

Fixes #5199.
2018-07-05 16:29:03 -04:00
DoomTay
444b271afe feat(fullscreen-toggle): disable fs button if fullcreen is unavailable (#5296)
Fixes #5290.
2018-07-05 16:28:37 -04:00
Yamamori Akihiro
c9d1e8a3d1 fix: autoplay throws 'undefined promise' error on some browsers. (#5283)
If the source is not loaded, `player.play();` returns `undefined` on Firefox and Edge, which causes exception.
With this fix, player will not make exception and the fallback (`player.play()` execution after loading video) will be enabled.
2018-07-03 12:06:24 -04:00
Edoardo
5d75bb694b chore(package): add module field to package.json (#5293)
Closes #5288
2018-07-03 12:04:41 -04:00
Stefano Fedeli
e683891183 fix(browser): TOUCH_ENABLED detection with Win10 (#5286)
Fixes #3306
2018-07-03 12:03:46 -04:00
Darius Oleskevicius
1b9bd42a1c feat: add double-click handler to toggle fullscreen (#5148)
Fixes #4948.
2018-07-03 12:02:19 -04:00
Gary Katsevman
00bb788899
chore: enable move and stale probots (#5292)
Enable [stale](https://probot.github.io/apps/stale/) and [move](https://probot.github.io/apps/move/) [probots](https://probot.github.io/).

`confirmed` and `a11y` labels have been added as exempt labels for stalebot
2018-07-02 16:20:02 -04:00
greenkeeper[bot]
2d7a4d7951 chore(package): update rollup to version 0.62.0 🚀 (#5279) 2018-07-02 12:00:42 -04:00
Darius Oleskevicius
b430461335 feat(browser): include iOS Chrome UA pattern when detecting Google Chrome (#5262)
Make IS_CHROME return true and IS_ANY_SAFARI return false for iOS Chrome.
2018-06-26 14:36:33 -04:00
Brandon Casey
ceed382222 refactor: removed old bug work-around code (#5200)
This removes some old workarounds for Chrome 15 and Safari 5.
2018-06-25 14:05:07 -04:00
Gary Katsevman
5c15d48635
chore(package): update rollup to version 0.61.1 (#5268) 2018-06-21 15:20:34 -04:00
Owen Edwards
53c62aca58 feat: Add an Audio Description icon to an audio track name in the track menu if it is "main-desc" kind. (#4599) 2018-06-21 14:34:16 -04:00
Darius Oleskevicius
237041698c feat: show mute toggle button if the tech supports muting volume (#5052)
Currently, VideoJS combines volume control with muted support, and these actions aren't actually the same. Muting/unmuting volume work independently from the volume control. For example, iOS doesn't support controlling volume programmatically but allows muting/unmuting volume.

This change will display the volume control panel and mute toggle button if the tech supports muting volume. The volume slider will continue to be hidden if the platform doesn't allow programmatically control volume. If neither muting nor control volume is supported, volume panel will not be displayed.

Fixes #4478.
2018-06-21 14:33:08 -04:00