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

915 Commits

Author SHA1 Message Date
wseymour15
d2b9d5c974 8.19.1 2024-10-10 10:07:37 -05:00
Walter Seymour
84f49054d9
chore(package): update http-streaming to v3.15.0 (#8889) 2024-10-10 10:03:12 -05:00
Walter Seymour
7c17d75be5
chore: update mpd-parser to v1.3.1 (#8888) 2024-10-09 15:26:07 -05:00
Alex Barstow
ffd70b14cf 8.19.0 2024-10-09 12:22:06 -04:00
Sarah Rimron-Soutter
b1dee925b2 8.18.1 2024-09-17 16:13:56 +01:00
Essk
89eb454620
chore(package): Update to VHS v3.14.2 (#8869) 2024-09-17 16:05:57 +01:00
Adam Waldron
8df5911a1f 8.18.0 2024-09-10 15:28:39 -07:00
Adam Waldron
c8e546f113
fix: update VHS to v3.14.1 (#8860)
## Description
Update VHS to v3.14.1 for a VTT timing fix detailed here:
https://github.com/videojs/http-streaming/pull/1537

## Specific Changes proposed
Update the VHS package to v.3.14.1.

## Requirements Checklist
- [x] Feature implemented / Bug fixed
- [ ] If necessary, more likely in a feature request than a bug fix
- [ ] Change has been verified in an actual browser (Chrome, Firefox,
IE)
  - [ ] Unit Tests updated or fixed
  - [ ] Docs/guides updated
- [ ] Example created ([starter template on
JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0))
- [ ] Has no DOM changes which impact accessiblilty or trigger warnings
(e.g. Chrome issues tab)
  - [ ] Has no changes to JSDoc which cause `npm run docs:api` to error
- [ ] Reviewed by Two Core Contributors

---------

Co-authored-by: Essk <sarah@teaandbiscuits.net>
2024-09-10 14:24:20 -08:00
mister-ben
1128425f95
chore: Update VHS to 3.14.0, and its dependencies (#8839)
## Description
Updates VHS and dependencies. These updates include _experimental_
ManagedMediaSource support, and support for #EXT-X-DEFINE,
#EXT-X-I-FRAMES-ONLY and #EXT-X-I-FRAME-STREAM-INF in m3u8-parser.

## Specific Changes proposed
* @videojs/http-streaming ^3.14.0
* @videojs/vhs-utils ^4.1.1
* aes-decrypter ^4.0.2
* m3u8-parser ^7.2.0

## Requirements Checklist
- [ ] Feature implemented / Bug fixed
- [ ] If necessary, more likely in a feature request than a bug fix
- [ ] Change has been verified in an actual browser (Chrome, Firefox,
IE)
  - [ ] Unit Tests updated or fixed
  - [ ] Docs/guides updated
- [ ] Example created ([starter template on
JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0))
- [ ] Has no DOM changes which impact accessiblilty or trigger warnings
(e.g. Chrome issues tab)
  - [ ] Has no changes to JSDoc which cause `npm run docs:api` to error
- [ ] Reviewed by Two Core Contributors
2024-09-09 11:08:55 -08:00
mister-ben
5fac9e1e9d
chore: update version number in readme on release (#8840)
Updates the version number where it appears in URLs in the README, when
`nom version` is ran. It's looking specifically for patterns like
`/8.17.3/` and `/video.js@8.17.3/`; if we change the README we need to
consider this script.
2024-08-28 12:39:46 +02:00
cvillasenor
fa7e64879a 8.17.4 2024-08-27 12:44:50 -06:00
Walter Seymour
790078bfbf
chore: update http-streaming to v3.13.3 (#8827) 2024-08-12 15:05:18 -05:00
mister-ben
820ef382bc
fix(types): Add has|usingPlugin to typedef by adding stubs which are removed from builds (#8811)
## Description
tsc doesn't understand mixins and ignores jsdoc not followed by code.
The jsdoc for the plugin methods `usingPlugin()` and `hasPlugin()` in
Player are being ignored. To get them included in type outputs we need
to have otherwise unnecessary stubs codes, as we already have for `on()`
etc, which adds unnecessary, even if a small amount of, code to the
outputs.

## Specific Changes proposed
* Slight refactor of Player to include those stubs.
* Adds a rollup plugin to delete lines between certain comments, so
those stubs are deleted from the outputs.
* Applies those comments to the `on()` etc stubs in Component and the
new plugin stubs in Player.

Any code surrounded by these comments, and the comments themselves, is
deleted from the dist and test builds:

```js
/* start-delete-from-build */
  console.log('hi');
/* start-delete-from-build */
```

Compared to main, video.min.js is 53 bytes smaller.

## Requirements Checklist
- [ ] Feature implemented / Bug fixed
- [ ] If necessary, more likely in a feature request than a bug fix
- [ ] Change has been verified in an actual browser (Chrome, Firefox,
IE)
  - [ ] Unit Tests updated or fixed
  - [ ] Docs/guides updated
- [ ] Example created ([starter template on
JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0))
- [ ] Has no DOM changes which impact accessiblilty or trigger warnings
(e.g. Chrome issues tab)
  - [ ] Has no changes to JSDoc which cause `npm run docs:api` to error
- [ ] Reviewed by Two Core Contributors
2024-08-12 21:47:47 +02:00
mister-ben
3380d33d6f
chore: Remove safe-json-parse (#8790)
## Description
Removes an old unmaintained dependency that isn't needed any more.

## Specific Changes proposed
Replace safe-json-parse with `JSON.parse`

## Requirements Checklist
- [x] Feature implemented / Bug fixed
- [ ] If necessary, more likely in a feature request than a bug fix
- [x] Change has been verified in an actual browser (Chrome, Firefox,
IE)
  - [ ] Unit Tests updated or fixed
  - [ ] Docs/guides updated
- [ ] Example created ([starter template on
JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0))
- [x] Has no DOM changes which impact accessiblilty or trigger warnings
(e.g. Chrome issues tab)
  - [x] Has no changes to JSDoc which cause `npm run docs:api` to error
- [ ] Reviewed by Two Core Contributors
2024-08-11 08:21:10 +02:00
cvillasenor
c4007dbea3 8.17.3 2024-07-30 11:07:29 -06:00
mister-ben
a7c9f26c8f
fix: Refactor evented to make mincompatable with Chrome 53 (#8810)
## Description
Chrome 53 doesn't like the minified output. Specifically, it throws
`Uncaught SyntaxError: Unexpected token (` on the ternary in the
minified version of `normalizeListenArgs()`

e78bcc7b2d/src/js/mixins/evented.js (L165-L195)

Line breaks added for clarify

```js
Tt = (e, t, s) => {
  var i = t.length < 3 || t[0] === e || t[0] === e.eventBusEl_;
  let r, n, a;
  return i ? (r = e.eventBusEl_, 3 <= t.length && t.shift(), [n, a] = t) : [r, n, a] = t, ft(r, e, s), yt(n, e, s), bt(a, e, s), a = _(e, a), {
    isTargetingSelf: I,
    target: r,
    type: n,
    listener: a
  }
},
```

Chrome would be happy with this if `[r, n, a] = t` were `([r, n, a] =
t)`.

## Specific Changes proposed
Refactor `normalizeListenArgs()` slightly to use multiple statements to
coerce uglify-js to include parentheses.
Also updates uglify-js, but that in itself isn't the fix.

Fixes #8783

## Requirements Checklist
- [x] Feature implemented / Bug fixed
- [ ] If necessary, more likely in a feature request than a bug fix
- [x] Change has been verified in an actual browser - Browserstack
Chrome 53
  - [ ] Unit Tests updated or fixed
  - [ ] Docs/guides updated
- [ ] Example created ([starter template on
JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0))
- [x] Has no DOM changes which impact accessiblilty or trigger warnings
(e.g. Chrome issues tab)
  - [x] Has no changes to JSDoc which cause `npm run docs:api` to error
- [ ] Reviewed by Two Core Contributors

---------

Co-authored-by: Gary Katsevman <git@gkatsev.com>
2024-07-22 22:16:17 +02:00
Dzianis Dashkevich
798647b7ea 8.17.2 2024-07-22 14:37:00 -04:00
Dzianis Dashkevich
49151eea90
chore: update vhs version 3.13.2 (#8812)
## Description
Update vhs version (v3.13.2)

## Specific Changes proposed
Please list the specific changes involved in this pull request.

## Requirements Checklist
- [ ] Feature implemented / Bug fixed
- [ ] If necessary, more likely in a feature request than a bug fix
- [ ] Change has been verified in an actual browser (Chrome, Firefox,
IE)
  - [ ] Unit Tests updated or fixed
  - [ ] Docs/guides updated
- [ ] Example created ([starter template on
JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0))
- [ ] Has no DOM changes which impact accessiblilty or trigger warnings
(e.g. Chrome issues tab)
  - [ ] Has no changes to JSDoc which cause `npm run docs:api` to error
- [ ] Reviewed by Two Core Contributors

Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-07-22 14:35:43 -04:00
mister-ben
e78bcc7b2d 8.17.1 2024-07-15 10:40:39 +02:00
mister-ben
51b4670f69 8.17.0 2024-07-10 11:43:18 +02:00
uomar
2b3ffd489e 8.16.1 2024-06-24 11:43:31 +01:00
mister-ben
fa9c41c866
chore: Update typescript to 5.5.2 (#8776)
## Description
Update to release of Typescript 5.5 (5.5.2) from rc (5.5.1). Diff shows
no changes in types output.
2024-06-23 14:19:13 +02:00
Adam Waldron
6b468dd2a9 8.16.0 2024-06-12 10:20:57 -07:00
Adam Waldron
864074d74d
fix: update to VHS v3.13.1 (#8765) 2024-06-12 07:46:44 -07:00
mister-ben
86ff6123f5
fix: improve ts output for create logger (#8763)
## Description
Typescript =< 5.2 generated better types for `log` than >= 5.3. We're on
5.5 as that has the better import syntax.
Changing createLogger to use `function log()` rather than `const log =
function()` outputs as before.

Also updates typescript to 5.5.1 (rc) from 5.5.0 (beta).

5.2, or 5.5 with this change
```
export default log;
declare const log: {
    (...args: any[]): void;
    createLogger(subName: string, subDelimiter?: string, subStyles?: string): any;
    createNewLogger(newName: string, newDelimiter?: string, newStyles?: string): any;
    levels: any;
    level(lvl?: "info" | "error" | "all" | "debug" | "warn" | "off"): string;
    history: {
        (): any[];
        filter(fname: string): any[];
        clear(): void;
        disable(): void;
        enable(): void;
    };
    error(...args: any[]): any;
    warn(...args: any[]): any;
    debug(...args: any[]): any;
};
export const createLogger: (subName: string, subDelimiter?: string, subStyles?: string) => any;
//# sourceMappingURL=log.d.ts.map%
```

5.3+, without this change
```
export default log;
declare function log(...args: any[]): void;
declare namespace log { }
export const createLogger: (subName: string, subDelimiter?: string, subStyles?: string) => any;
//# sourceMappingURL=log.d.ts.map%
```

## Requirements Checklist
- [x] Feature implemented / Bug fixed
- [ ] If necessary, more likely in a feature request than a bug fix
- [x] Change has been verified in an actual browser (Chrome, Firefox,
IE)
  - [ ] Unit Tests updated or fixed
  - [ ] Docs/guides updated
- [ ] Example created ([starter template on
JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0))
- [x] Has no DOM changes which impact accessiblilty or trigger warnings
(e.g. Chrome issues tab)
  - [x] Has no changes to JSDoc which cause `npm run docs:api` to error
- [ ] Reviewed by Two Core Contributors
2024-06-12 05:13:27 +02:00
Borut Zizmond
b58b4c5879
feat(icons): update Twitter X logo (#8764)
## Specific Changes proposed
- update font version to 4.2.0 to use updated Twitter icon
- update to Twitter X icon in SVG


## Requirements Checklist
- [x] Feature implemented / Bug fixed
- [ ] If necessary, more likely in a feature request than a bug fix
- [ ] Change has been verified in an actual browser (Chrome, Firefox,
IE)
  - [ ] Unit Tests updated or fixed
  - [ ] Docs/guides updated
- [ ] Example created ([starter template on
JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0))
- [ ] Has no DOM changes which impact accessiblilty or trigger warnings
(e.g. Chrome issues tab)
  - [ ] Has no changes to JSDoc which cause `npm run docs:api` to error
- [ ] Reviewed by Two Core Contributors
2024-06-11 12:58:29 -04:00
Dzianis Dashkevich
fc1f7a6f82 8.15.0 2024-06-06 19:04:03 -04:00
Dzianis Dashkevich
8cfd6c4ca0
feat: update xhr (#8757)
update xhr to 2.7.0

Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-06-06 19:03:30 -04:00
Adam Waldron
8729e31d60 8.14.1 2024-05-30 12:50:12 -07:00
mister-ben
42e167c4d2
chore: Update karma dependenciess (#8743) 2024-05-30 12:14:52 -07:00
mister-ben
35de64ceb0
refactor: Replace keycode dependency with event.key (#8735)
refactor: Replace keycode dependency with event.key
2024-05-23 18:50:23 +02:00
Adam Waldron
978731eddf
chore: update VHS to v3.13.0 (#8742) 2024-05-21 16:19:42 -07:00
mister-ben
f05769d116
Update typescript and jsdoc, use @import (#8723) 2024-05-15 15:02:01 +02:00
Adam Waldron
7b0aede1c3 8.14.0 2024-05-06 10:13:17 -07:00
Dzianis Dashkevich
c2c7f96030 8.13.0 2024-04-22 15:40:52 -04:00
Dzianis Dashkevich
8699deb58d
fix: update vhs version (#8704)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-04-22 15:39:24 -04:00
Adam Waldron
582c35f96b 8.12.0 2024-04-16 09:00:40 -07:00
Adam Waldron
12310ed997
chore: update VHS to v3.12.1 (#8687) 2024-04-16 08:55:26 -07:00
mister-ben
3f32de30ca
fix(build): Use quoted dbl quotes to support Windows (#8681) 2024-04-12 18:54:17 +02:00
wseymour15
2f1cc6c2b3 8.11.8 2024-03-12 14:32:18 -05:00
Walter Seymour
66b74ebd57
chore: update VHS to v3.12.0 (#8637) 2024-03-12 14:29:29 -05:00
Dzianis Dashkevich
9977a937c6 8.11.7 2024-03-06 15:13:44 -05:00
Dzianis Dashkevich
d113ce5328
chore(package): update quality-levels version (#8630)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-03-06 15:04:39 -05:00
wseymour15
26265d7d17 8.11.6 2024-03-04 13:36:38 -06:00
Dzianis Dashkevich
d7757d880e 8.11.5 2024-02-28 13:59:06 -05:00
Dzianis Dashkevich
1f76abd7cd
chore: update vhs version (#8621)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-02-28 13:54:31 -05:00
Dzianis Dashkevich
a57b07a418 8.11.4 2024-02-21 11:16:53 -05:00
Dzianis Dashkevich
ac2eb84539
chore: update vhs to 3.11.2 (#8603)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2024-02-21 11:16:21 -05:00
wseymour15
b0d84ee1c5 8.11.3 2024-02-20 13:09:15 -06:00
Alex Barstow
54e3a0614b 8.11.2 2024-02-13 11:19:05 -05:00