1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-28 08:58:46 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
Dzianis Dashkevich
372b816779
chore(package): Update VHS version (#8447)
* chore(package): Update VHS version

* get rid of kaios 2 from browserlist

* get rid of kaios 2

* get rid of op_mob 64

---------

Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2023-09-25 15:09:36 -04:00
Walter Seymour
6fc0dc783a
feat: Add useSVGIcons option (#8260) 2023-06-12 13:31:06 -05:00
Jon Dufresne
423f7ebd67
Fix several typos in docs and comments (#8110) 2023-03-22 15:00:01 +01:00
Grzegorz Blaszczyk
54195f0b28 feat: add support for a list of quality levels (#7897)
This brings the videojs-contrib-quality-levels plugin into Video.js as a feature.
2022-11-23 09:49:32 -05:00
Pat O'Neill
28029d93f4 feat: update exposed utility functions and deprecate several top-level methods of the videojs global (#7761) 2022-11-23 09:49:23 -05:00
Alex Barstow
1281d68d78 chore: Update preset env, drop IE11 and older browser support (#7708) 2022-11-23 09:48:11 -05:00
Gary Katsevman
029e92ac96
fix: mark global/window/document as external globals (#7438)
built off of the work in https://github.com/videojs/videojs-generate-rollup-config/pull/40
2021-09-22 12:55:17 -04:00
Brandon Casey
4cecbdab45
chore: add a code coverage ci workflow (#7282) 2021-06-23 00:53:52 -04: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
Brandon Casey
0b467041c7
chore: update rollup for upcoming vhs changes (#7075) 2021-03-05 13:13:13 -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
63752f3727
fix(rollup): browser globals shouldn't be external (#6954)
This fixes an issue with requirejs where global/window and
global/document were being marked as dependencies. Instead, this makes
sure that the module gets inlines properly and not worked as a dep for
requirejs.

Fixes #6443, #6272, #6212, #5680.
2020-12-11 15:55:27 -05:00
Brandon Casey
5a13e90574
chore: move unit test build right below main for faster watch (#6953) 2020-12-01 11:17:08 -05:00
Gary Katsevman
6a28562d74
chore: setup Github CI (#6940) 2020-11-10 17:45:26 -05:00
Gary Katsevman
2c9687596c
chore(package): upgrade to babel 7.9 and enable bugfixes (#6541) 2020-03-24 11:04:01 -04:00
Gary Katsevman
ca84448026
fix: turn on strict mode again (#6334)
We had to turn off strict mode (#4551) in Video.js due to a change in vtt.js. That has now been fixed in videojs/vtt.js#40 and released as part of 0.15.2 which will be available via #6333.

Fixes videojs/vtt.js#15
2019-12-02 14:13:36 -05:00
Grzegorz Blaszczyk
4f8c4988d2 feat: add core ES module. (#6287)
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 (#5601) 2019-08-30 14:56:41 -04:00
Brandon Casey
85ad44e13e chore: package json cleanup (#5649) 2019-08-30 14:14:53 -04:00
Brandon Casey
bd58039c78 perf: Save 3740 bytes gizpped by getting rid of xhr deps (#6164)
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 (#6145) 2019-08-29 16:44:06 -04:00
Grzegorz Blaszczyk
2e69448f49 chore: switch from deprecated jsnext, main options to mainFields (#6075) 2019-07-26 13:49:01 -04:00
Chuck Wilson
45d1ca9c73 chore: change rollup config so that npm run watch works (#5966)
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) (#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
Gary Katsevman
a8828cd76d
chore(netlify): make docs build properly (#5636)
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 (#5592) 2018-11-30 16:37:29 -05:00
Brandon Casey
401fa28d40 chore(rollup): fix watch build with globals/externals (#5519) 2018-10-25 16:01:11 -04:00
Brandon Casey
a9ae77fa3c chore: remove rollup filesize plugin to double build speed (#5518) 2018-10-22 14:36:36 -07:00
Gary Katsevman
313036e132
chore(babel): Upgrade to Babel 7 (#5498)
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 (#5220) 2018-06-04 15:24:43 -04:00
Brandon Casey
702acdb6a1
ignore: a terrible rollup watch fix for development (#5211) 2018-05-25 13:41:12 -04:00
Gary Katsevman
97db94e8a6
chore: update rollup and uglify and the build process (#5096)
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