1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-31 22:22:09 +02:00

17 Commits

Author SHA1 Message Date
Gary Katsevman
ca84448026
fix: turn on strict mode again ()
We had to turn off strict mode () in Video.js due to a change in vtt.js. That has now been fixed in  and released as part of 0.15.2 which will be available via .

Fixes 
2019-12-02 14:13:36 -05:00
Grzegorz Blaszczyk
4f8c4988d2 feat: add core ES module. ()
Allows you to do `import videojs from 'video.js/core.es.js';` to go along with `require('video.js/core.js')`;
2019-11-15 13:44:11 -05:00
Brandon Casey
4134a9734b test: run tests via rollup () 2019-08-30 14:56:41 -04:00
Brandon Casey
85ad44e13e chore: package json cleanup () 2019-08-30 14:14:53 -04:00
Brandon Casey
bd58039c78 perf: Save 3740 bytes gizpped by getting rid of xhr deps ()
Switch to @videojs/xhr and setup babel runtime helpers properly.
2019-08-30 11:13:45 -04:00
Brandon Casey
22782b8425 perf: Another 5ms of startup time improvements () 2019-08-29 16:44:06 -04:00
Grzegorz Blaszczyk
2e69448f49 chore: switch from deprecated jsnext, main options to mainFields () 2019-07-26 13:49:01 -04:00
Chuck Wilson
45d1ca9c73 chore: change rollup config so that npm run watch works ()
There was a mux.js file missing from the externals list for module outputs.
2019-04-29 13:18:31 -04:00
Owen Edwards
61053bf674 feat: add hotkeys support ("m", "f", "k", and Space) ()
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 .

Fixes , fixes .
2019-01-25 14:10:29 -05:00
Gary Katsevman
a8828cd76d
chore(netlify): make docs build properly ()
Refactor of the clean task added docs/api, which didn't happen
previously. Re-order when things are generated to work around it.

Also, don't show rollup progress on netlify either.
2018-11-30 17:53:08 -05:00
Brandon Casey
d72786fc0c chore: remove grunt move to npm scripts () 2018-11-30 16:37:29 -05:00
Brandon Casey
401fa28d40 chore(rollup): fix watch build with globals/externals () 2018-10-25 16:01:11 -04:00
Brandon Casey
a9ae77fa3c chore: remove rollup filesize plugin to double build speed () 2018-10-22 14:36:36 -07:00
Gary Katsevman
313036e132
chore(babel): Upgrade to Babel 7 ()
Use npx babel-upgrade --write --install to initiate the upgrade. Then update grunt and rollup.

Decreases minified, gzipped filesize by about 1KB. Decreases build times by a few minutes.
2018-10-12 15:54:51 -04:00
Joe Forbes
7c5a066f2a fix: build core script files as UMD () 2018-06-04 15:24:43 -04:00
Brandon Casey
702acdb6a1
ignore: a terrible rollup watch fix for development () 2018-05-25 13:41:12 -04:00
Gary Katsevman
97db94e8a6
chore: update rollup and uglify and the build process ()
This is upgrades rollup and uglify to latest versions. It also rewrites the rollup config to take advantage of the newest features of rollup. Minification is also split up into a separate process, mostly to speed up the build. The total build type can go down from about 2.5 minutes to around 1 minute for all the generated javascript files.
2018-04-19 13:23:53 -04:00