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

3288 Commits

Author SHA1 Message Date
Brandon Casey
6c1056b665 chore: fix travis build (#5627)
Disable running tests in Firefox on Travis for regular PRs as it wasn't the case previously and is broken for some reason. We'll follow up in the future in #5626.

Update .travis.yml based on their latest infrastructure and new npm caching method.

Silence logging of sourceset test sources.

Closes #5616
2018-11-28 17:25:59 -05:00
Gary Katsevman
3e52c4f931
chore(package): update npm-run-all to 4.1.5 to remove event-stream (#5614)
event-stream had unknown code added to it, npm-run-all 4.1.5 was updated
to fix that. https://github.com/dominictarr/event-stream/issues/116 for
more information
2018-11-26 12:19:01 -05:00
Owen Edwards
9cd73b3d6e
Fix typo 2018-11-20 14:20:56 -08:00
Gary Katsevman
ab740bcf09
chore: switch from cross-var to cross-env (#5600) 2018-11-16 12:28:44 -05:00
Brandon Casey
db6e3765c8 chore: Move a11y, lang, browserify, and webpack out of grunt (#5589) 2018-11-16 12:13:19 -05:00
Brandon Casey
be9e9a93db chore: fix lint on pre-commit with lint-staged, use npm-merge-driver (#5591)
run vjsstandard --fix on pre-commit on staged files via lint-staged.
Install npm-merge-driver to fix package-lock issues during merges and rebases.
2018-11-16 00:04:11 -05:00
greenkeeper[bot]
2162239497 chore(package): update videojs-generate-karma-config to version 5.0.0 🚀 (#5595)
This removes testing in IE11 Win7 and pins QUnit to ~2.5.1 to prevent a weird stack trace issue.
2018-11-15 17:34:03 -05:00
Gary Katsevman
287b267305
docs: update starter template (#5570)
Use a codepen template for the starter template that includes the latest version of Video.js.

The template is at https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0

Fixes #5562
2018-11-14 13:45:20 -05:00
greenkeeper[bot]
d95ef6ff15 fix(package): update @videojs/http-streaming to version 1.5.0 🚀 (#5587) 2018-11-14 13:44:06 -05:00
Gary Katsevman
b5e6bdcf7a
chore(player): fix linting for a comment (#5588) 2018-11-14 13:15:39 -05:00
Brandon Casey
b67fe271ba feat: responsive caption settings (#5534)
When responsive mode is set, make the caption settings dialog be more responsive to the size of the player.
Make whitespace and sizing a bit more consistent across elements.
2018-11-14 12:12:34 -05:00
fketchakeu
ab0e29a431 fix: duration reset and allow duration NaN or 0 for duration display (#5348)
This allows the duration NaN or 0 to update the duration display.
This also resets the duration display when a new media item is loaded with `preload` set to 'none'.

Fixes #5347
2018-11-14 12:09:55 -05:00
Quentí
0fb637d16f feat(lang): Add the Occitan locale (#5578) 2018-11-14 12:09:11 -05:00
Gary Katsevman
dec31e47b1
chore: use relative urls in index.html (#5586)
Using a relative url will make this page work whether run via the server
of npm start or a third party server that serves other things as well.
2018-11-14 12:06:55 -05:00
Gary Katsevman
209d9f92d7
chore(package): update rollup to version 0.67.1 (#5580) 2018-11-13 14:45:38 -05:00
Daniel Ruf
15beea7eab chore(travis): remove unused secret variables (#5577) 2018-11-13 11:57:18 -05:00
Bartlomiej Tyrpien
441f0e17a6 docs(media-error): Correct error type documentation (#5566) 2018-11-09 10:57:03 -05:00
Carl Morris
b2c1077e77 feat(lang): Add Welsh/Cymraeg (cy) translations (#5561) 2018-11-08 15:59:34 -05:00
Brandon Casey
2d682a446c chore: move copy, zip, and clean tasks to npm scripts (#5544) 2018-11-08 14:02:07 -05:00
Gary Katsevman
c1cbce386d
fix(tracks): don't select tracks based on user pref if no langauge is set (#5556)
When preselecting a new track based on user preference, make sure that the language is actually set and that the track we're testing is either a captions or a subtitles track.

Fixes #5553
2018-11-06 16:36:15 -05:00
greenkeeper[bot]
dbaca33cbf fix(package): update @videojs/http-streaming to version 1.4.2 🚀 (#5543) 2018-11-06 14:36:54 -05:00
Gary Katsevman
11f1fb8e3a
chore: update deps, remove coveralls, fix audit issues (#5555) 2018-11-06 11:48:42 -05:00
Gary Katsevman
937e2bf911
chore(package): update husky to version 1.1.3 (#5551) 2018-11-05 15:16:57 -05:00
Gary Katsevman
f23617670c
chore(package): update conventional-changelog-cli to version 2.0.11 (#5552) 2018-11-05 15:00:42 -05:00
Eran Shmil
eb5de19fea feat(lang): copy language JSON files into dist dir (#5549)
This helps with ESM import and bundler users can then import the JSON files directly and register the languages manually. For example:
```js
import es from 'video.js/dist/lang/es.json';

videojs(element, {
  language: 'es',
  languages: {
    es
  }
});
```

Related issue: #5092
2018-11-05 14:59:13 -05:00
Gary Katsevman
2d27b6af6c
chore(package): update grunt-cli to version 1.3.2 (#5550) 2018-11-05 14:55:32 -05:00
gstrat88
0e5442f98e feat(player): add playerreset event (#5335) 2018-11-05 14:44:54 -05:00
Grzegorz Blaszczyk
7d127c8e01 fix: not inline volume slider showing up after mouse hovering on it (#5503)
Adjust the initial/hidden position of the slider to be off screen.

Fixes #5502, fixes #5505
2018-11-05 13:54:56 -05:00
Grzegorz Blaszczyk
58f638e99d fix: vjs-lock-showing class gets removed from menu when no longer hovering on menu-button. (#5465)
Fixes #1690
2018-11-02 16:51:42 -04:00
Grzegorz Blaszczyk
aed337a9ad fix: add correct cursor pointer for the play toggle (#5463) 2018-11-02 16:51:10 -04:00
Marco Valsecchi
79edf5b9f1 docs: Update urls in README.md to point to v7.3.0 (#5536) 2018-11-02 16:50:30 -04:00
Gary Katsevman
d46828a18f
chore(package): update remark-stringify to version 6.0.1 (#5539) 2018-11-02 16:48:40 -04:00
Grzegorz Blaszczyk
f1784587f6 feat: add 'replay' option to the PlayToggle component. (#5531)
The `PlayToggle` has one option `replay` which can show or hide replay icon. This can be set by passing `{replay: false}` as the default behavior replay icon is shown after video end playback.

Example of how to hide a replay icon
 ```js
let player = videojs('myplayer', {
  controlBar: {
    playToggle: {
      replay: false
    }
  }
});
```

Fixes #4802
2018-11-02 16:47:52 -04:00
Garrett Singer
0060747d5a fix: Don't remove vjs-waiting until time changes (#5533)
Sometimes the vjs-waiting class is removed prematurely after the player gets into a waiting state. This removes the graphic waiting spinner while the player is still waiting. Instead, we should make sure that the currentTime has updated before removing the spinner.
2018-11-02 16:43:32 -04:00
Brandon Casey
2e704509c9 chore: switch to videojs-generate-karma-config (#5528) 2018-10-31 11:01:30 -04:00
Gary Katsevman
607ed8bea8 7.3.0 2018-10-26 13:57:01 -04:00
Brandon Casey
8bf42064f3 fix: blob urls being ignored as valid sources (#5525)
Instead of checking for blob urls in the generic updateSourceCaches method, check for blob urls inside of handleTechSourceset before updating the source cache.

Fixes #5504.
2018-10-25 18:56:56 -04:00
Brandon Casey
401fa28d40 chore(rollup): fix watch build with globals/externals (#5519) 2018-10-25 16:01:11 -04:00
Brandon Casey
5f73f76a11 chore: move scss grunt tasks to npm scripts (#5520) 2018-10-25 15:45:08 -04:00
greenkeeper[bot]
ad6fc7fc0a fix(package): update @videojs/http-streaming to version 1.4.1 🚀 (#5527) 2018-10-25 15:29:07 -04:00
Grzegorz Blaszczyk
b8fe624f9e fix: add support for :focus-visible selector (#5483)
Add support for focus-visible so that mouse-users don't need to see focus outlines but keyboard and Screen Reader users still do. It includes both the standard selector and the selector intended to work with the polyfill: https://github.com/WICG/focus-visible.
The polyfill is *not* included in Video.js and must be included on the page separately.

Fixes #5474.
2018-10-25 15:23:13 -04:00
Brandon Casey
4827110bba fix: Prevent ResizeManager from being clicked on safari, fix playerresize on firefox (#5522)
Move the ResizeManager behind the video element with negative z-index and remove visibility: hidden. This fixes issue where right click event wasn't triggered on the correct element and resize was not happening on firefox.
2018-10-25 11:16:38 -04:00
greenkeeper[bot]
0847485720 fix(package): update @videojs/http-streaming to version 1.4.0 🚀 (#5523) 2018-10-24 14:15:30 -04:00
Brandon Casey
a9ae77fa3c chore: remove rollup filesize plugin to double build speed (#5518) 2018-10-22 14:36:36 -07:00
greenkeeper[bot]
d8e88cfdbf chore(package): update remark-parse to version 6.0.0 🚀 (#5514) 2018-10-22 12:15:45 -07:00
greenkeeper[bot]
8fa2f8a15c chore(package): update remark-stringify to version 6.0.0 🚀 (#5515) 2018-10-22 12:11:59 -07:00
Chris Ng
f66692ed08 docs(player): make reset() method more clear (#5501) 2018-10-22 11:57:59 -07:00
Michael Nowack
dfcfa45be1 fix(TextTrackSetting): Do not use default button type. (#5512)
The default button type is "submit" which triggers a form submit. Thus
if videojs is embedded in a form element the button triggers a form
submit.

This is the same problem with same solution as discussed in https://github.com/videojs/video.js/issues/2470
2018-10-22 11:56:50 -07:00
greenkeeper[bot]
46e3ef0951 fix(package): update @videojs/http-streaming to version 1.3.1 🚀 (#5508) 2018-10-22 11:55:38 -07:00
greenkeeper[bot]
29005e9172 chore(package): update remark-cli to version 6.0.0 🚀 (#5516) 2018-10-22 11:54:29 -07:00