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

4141 Commits

Author SHA1 Message Date
Dzianis Dashkevich
cf681e0e76
feat: enhanced logger (#8444)
* Added the createNewLogger method, to create a logger without a naming chain.

* Added optional custom delimiter and custom styles.

* Several improvements in jsDoc for proper types(d.ts) generation.

---------

Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2023-09-25 12:50:01 -04:00
usmanonazim
38b165d4d7 8.5.3 2023-08-23 12:50:46 -04:00
André
b95cd7a6eb
fix(svg-icons): default icons color (#8382)
Uses the same color as defined by the `color` property of the `video-js` class to apply to `svg icons` for easy customization

- set `fill` property to `currentColor`

Co-authored-by: mister-ben <git@misterben.me>
2023-08-17 21:48:43 +02:00
André
d0408812df
fix(svg-icons): icon size consistency (#8380)
* fix(svg-icons): icon size consistency

The icons have been regenerated from the svg files in `videojs/font` to ensure consistency in size.

- update icons.svg file

* fix(svg-icons): default height and width in css

Uses the same reference value from the font size of `font icons` to define the default height and width of `svg icons`

* fix(big-play-button): default height and width of svg icon

Uses the same size as the big-play-button font size and centers the svg icon

* fix(volume-control): default height and width of svg icon

Uses the same size as the `volume-level` font size and
centers the svg icon for both horizontal and vertical display

* fix(volume-control): mouse-display overlaps the volume-level svg icon

* fix(play-progress): default height and width of svg icon

Uses the same size as the `play-progress` font size and removes the hover effect

* fix(subtitles-button): default height and width of svg icon

Uses the same size as the `subtitles button` font size
2023-08-17 21:30:23 +02:00
André
42e17b23da
fix(error-display): avoids displaying visual components when an error occurs (#8389)
When an error occurs, only the error screen should be displayed to maintain visual consistency.

- Hides the Title Bar
- Hides the Loading Spinner
- Hides the Captions Settings
- Hides the Text Track Display
2023-08-17 21:25:16 +02:00
Pavel Chuchuva
80ae35b6e3
Fix typo (#8399) 2023-08-15 10:37:09 +02:00
Dzianis Dashkevich
ca31cd3b63 8.5.2 2023-08-14 14:41:53 -04:00
Dzianis Dashkevich
9aff3de582
chore(package): bump VHS version from 3.3.1 to 3.5.3 (#8400)
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
2023-08-14 14:40:13 -04:00
Usman Omar
560b81a6d9
fix(text): caption settings typo 2023-08-14 15:13:02 +01:00
wseymour
3e9ef0ace2 8.5.1 2023-07-21 14:08:31 -05:00
mister-ben
6fc1fd4aaf
fix(tests): Fixes for old Safari (#8368) 2023-07-21 19:12:48 +02:00
Walter Seymour
da15810355
fix: Check for VTTCue (#8370) 2023-07-20 11:38:15 -05:00
mister-ben
452a918a42
fix(tests): Skip a test on old Safari (#8356) 2023-07-19 09:10:07 +02:00
mister-ben
c66bf4023f
fix: make compatible with chrome 53 (#8354) 2023-07-12 19:43:17 +02:00
François Beaufort
8dd98f602b
fix: Don't use copyStyleSheets with documentPIP (#8314)
* Don't use copyStyleSheets

* Move to dom.js

* Add tests

* Address feedback
2023-07-07 15:56:54 +02:00
mister-ben
c11d213453
fix: Fullscreen styles for older Safari (#8346) 2023-07-06 22:55:29 +02:00
François Beaufort
146008f610
Use pagehide instead of unload for PiP (#8321) 2023-07-04 13:43:09 +02:00
André
b34cb2c207
fix(play-toggle): missing svg play icon (#8337)
Svg play icon is missing when player is initialized with class `vjs-has-started`.

- add `setIcon` to the `play-toggle` component constructor

Fixes #8336
2023-07-04 13:03:33 +02:00
André
e06465f9cb
fix(progress): mouse-time-display overlaps the play-progress svg icon (#8338)
When the mouse hovers over the `play-progress` svg icon,
the `mouse-time-display` bar appears above it.

- adds `z-index` to avoid overlap
2023-07-04 12:27:06 +02:00
mister-ben
e2f9231532
fix: Add skip button text for Spanish (#8340) 2023-07-04 12:08:45 +02:00
André
97ba60f4e7
fix(lang): add skip button text for French (#8341) 2023-07-04 12:01:21 +02:00
André
6dac145eed
fix(lang): add skip button text for Portuguese (#8342) 2023-07-04 10:06:36 +02:00
wseymour
2b0df25df3 8.5.0 2023-06-12 16:05:34 -05:00
Walter Seymour
6fc0dc783a
feat: Add useSVGIcons option (#8260) 2023-06-12 13:31:06 -05:00
Pat O'Neill
6c4997d25b 8.4.2 2023-06-06 17:36:43 -04:00
BrainCrumbz
dc1e2bb42a
fix(shadow-dom): prevent warning 'element supplied is not included' (#8192)
Co-authored-by: Giuseppe Piscopo <g.piscopo@braincrumbz.com>
2023-06-06 17:24:30 -04:00
André
3dece507bc
fix(text-track-settings): fix text track settings responsiveness when default font size is modified (#8294) 2023-06-06 17:24:00 -04:00
André
f0751777a1
fix(loading-spinner): fix loading spinner responsiveness when default font size is modified (#8295) 2023-06-06 17:22:27 -04:00
Makio64
fab8f95a07
fix(package): update videojs-contrib-quality-levels to 4.0.0 to eliminate deprecation warning (#8303)
Co-authored-by: Pat O'Neill <pgoneill@gmail.com>
2023-06-06 17:21:49 -04:00
mister-ben
581786a644 8.4.1 2023-06-05 21:03:01 +03:00
mister-ben
8f32b9f5c9
fix: revert resolveJsonModule in tsconfig (#8310) 2023-06-05 20:53:36 +03:00
Pat O'Neill
0c011618e8 8.4.0 2023-06-02 11:05:35 -04:00
Pat O'Neill
9e5dd81057
test: fix Safari test failures (#8300) 2023-06-01 15:28:19 -07:00
kerasus
cb8b3292fa
feat(lang): update fa translation (#8288) 2023-06-01 09:47:25 -04:00
André
b782cb09f4
fix(player): cache_.currentTime is not updated when the current time is set (#8285)
Updating cache_.currentTime as soon as the currentTime is set avoids having to wait for the timeupdate event, which results in:

- making cache_.currentTime more reliable
- updating the progress bar on mouse up after dragging when the media is paused.

See also: #6232, #6234, #6370, #6372
2023-06-01 08:50:29 -04:00
SuperShowwei
7e8532433e
feat(lang): update zh-TW translations (#7877) 2023-05-31 11:27:39 -04:00
Adam Waldron
53dfca4ba8
chore(package): update to http-streaming v3.3.1 (#8279) 2023-05-31 11:13:39 -04:00
mister-ben
3af36383ca
fix(jsdoc): corrections to jsdoc (#8277) 2023-05-31 11:12:57 -04:00
André
d524e5755d
fix(picture-in-picture-control): hide the component in non-compatible browsers (#7899) 2023-05-31 10:54:51 -04:00
Beligh HAMDI
20df248939
docs: update version number in README.md (#8271) 2023-05-31 10:42:15 -04:00
André
35fad1d454
fix(player): load method fails to reset the media element to its initial state when the VHS is used (#8274) 2023-05-31 10:41:44 -04:00
mister-ben
665154fa41
chore: remove legacy prefixes (#8276) 2023-05-31 10:34:01 -04:00
François Beaufort
9e1e29ddfd
fix: Document Picture-in-Picture: Use width/height instead of initialAspectRatio (#8270) 2023-05-31 10:31:24 -04:00
André
07effdf244
fix(skip-forward): error when clicking after player reset (#8258) 2023-05-31 10:30:49 -04:00
André
e73e05db8f
fix(seek-bar): error when scrubbing after player reset (#8257) 2023-05-31 10:30:13 -04:00
André
5151bc5970
fix(player): techGet is undefined (#8256)
Fixes #8255
2023-05-31 10:29:35 -04:00
Grzegorz Blaszczyk
52bad2b784
fix: ad icon is not visible on audio description track list element on Safari (#8232) 2023-05-31 10:28:50 -04:00
André
1a1adf3275
fix(player): address loss of crossOrigin value when loadMedia is called (#8085) 2023-05-31 10:25:34 -04:00
André
f1558c660b
fix(videojs): missing return in registerComponent (#8247) 2023-05-12 12:23:27 -04:00
Dzianis Dashkevich
866ef24b79
fix: Replace Object.values with ponyfill (#8267)
Unpin Firefox in BrowserStack tests, which fixes test failures as well.

Fixes #8266.
2023-05-11 18:57:13 -04:00