da15810355
fix: Check for VTTCue ( #8370 )
2023-07-20 11:38:15 -05:00
c66bf4023f
fix: make compatible with chrome 53 ( #8354 )
2023-07-12 19:43:17 +02:00
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
c11d213453
fix: Fullscreen styles for older Safari ( #8346 )
2023-07-06 22:55:29 +02:00
146008f610
Use pagehide instead of unload for PiP ( #8321 )
2023-07-04 13:43:09 +02:00
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
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
6fc0dc783a
feat: Add useSVGIcons option ( #8260 )
2023-06-12 13:31:06 -05:00
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
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
f0751777a1
fix(loading-spinner): fix loading spinner responsiveness when default font size is modified ( #8295 )
2023-06-06 17:22:27 -04:00
9e5dd81057
test: fix Safari test failures ( #8300 )
2023-06-01 15:28:19 -07:00
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
3af36383ca
fix(jsdoc): corrections to jsdoc ( #8277 )
2023-05-31 11:12:57 -04:00
d524e5755d
fix(picture-in-picture-control): hide the component in non-compatible browsers ( #7899 )
2023-05-31 10:54:51 -04:00
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
665154fa41
chore: remove legacy prefixes ( #8276 )
2023-05-31 10:34:01 -04:00
9e1e29ddfd
fix: Document Picture-in-Picture: Use width/height instead of initialAspectRatio ( #8270 )
2023-05-31 10:31:24 -04:00
07effdf244
fix(skip-forward): error when clicking after player reset ( #8258 )
2023-05-31 10:30:49 -04:00
e73e05db8f
fix(seek-bar): error when scrubbing after player reset ( #8257 )
2023-05-31 10:30:13 -04:00
5151bc5970
fix(player): techGet is undefined ( #8256 )
...
Fixes #8255
2023-05-31 10:29:35 -04:00
52bad2b784
fix: ad icon is not visible on audio description track list element on Safari ( #8232 )
2023-05-31 10:28:50 -04:00
1a1adf3275
fix(player): address loss of crossOrigin value when loadMedia is called ( #8085 )
2023-05-31 10:25:34 -04:00
f1558c660b
fix(videojs): missing return in registerComponent ( #8247 )
2023-05-12 12:23:27 -04:00
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
1491d71b26
feat: text track display overlays a video ( #8009 )
2023-04-11 21:30:18 +02:00
61bd74de8d
fix(types): Add jsdoc plugin to handle ts-style imports ( #8225 )
2023-04-05 10:10:13 -04:00
71343d1996
fix: reset progress bar fully when player is reset ( #8160 )
2023-04-04 16:58:57 -04:00
b489bc5c7d
fix: Ensure additional components update on languagechange ( #8175 )
2023-04-04 16:54:36 -04:00
0c72805500
feat: Add document picture-in-picture support ( #8113 )
...
Co-authored-by: François Beaufort <beaufort.francois@gmail.com >
2023-04-04 16:44:16 -04:00
423f7ebd67
Fix several typos in docs and comments ( #8110 )
2023-03-22 15:00:01 +01:00
c35c45b03a
fix: improved accessibility for time display ( #8182 )
...
This change is to remove the aria-live attribute from time display elements. The aria-live attribute is no longer needed since the presentation role was added. Both attributes being present can lead to unexpected screen reader behavior.
Fixes issue #8143
2023-03-21 17:55:11 -04:00
b7116be725
fix: replay button broken for native playback ( #8142 )
...
* fix: replay button broken for native playback
* remove debug logging
* move fix to player
* comment
* add unit test
* add native browser stubs
* reset stubs and test currentTime
2023-03-06 10:32:14 -08:00
8f3f32cb2b
feat: add skip forward/backward buttons ( #8147 )
...
* remove duplicate icons from icon example
* create initial forward and back button classes
* add logic for back/forward buttons on click
* change icon used based on option passed into player
* move logic from forward and back buttons into one component
* add jsdoc comments for clarity
* create initial test file
* refactor button logic into separate files
* update skip button example and add test files
* test both the forward and backward buttons
* test handleClick fns for both forward and backward btns
* update skip buttons example
* update jsdocs for skip backward and forward buttons
* make control text accessible and use seekableEnd/Start when skipping forward/back
* update font version to use updated icons
* set control text only if config is valid
* add link to sandbox page & use localization
* update translations needed
2023-03-06 09:51:59 +00:00
0022867a2a
fix(types): Improve Typescript coverage ( #8148 )
2023-03-02 06:41:57 +01:00
a27ee053bb
fix: Remove img el when there's no poster source ( #8130 )
...
* fix: No invalid img el with no poster source
* move dom changes into setSrc
2023-02-20 10:04:39 +01:00
2c7eea889a
chore: upgrade videojs-font to 4.0.0 ( #8117 )
...
* upgrade videojs-font to 4.0 & update icons example
* update css content to use font 4.0 unicodes
2023-02-10 17:41:49 +00:00
b306ce614e
feat: improved text tracks settings labels ( #8101 )
2023-02-06 13:44:24 -06:00
db882cd49d
fix: remove unnecessary handling of invalid cues ( #7956 )
2023-02-01 18:08:30 +01:00
33b476d7cc
fix: use Screen Orientation API where supported ( #8031 )
...
* feat: introduces Screen Orientation API for detecting orientation change
* feat: add missing unit tests
2023-02-01 18:05:41 +01:00
267b5c6bff
fix: Exit PIP if entering fullscreen ( #8082 )
...
* exit PIP if entering fullscreen
* assert that entering full screen leaves PiP
2023-02-01 18:03:36 +01:00
2e96253632
fix: Improves types for registerPlugin and getPlugin ( #8058 )
...
* fix: improves types for registerPlugin and getPlugin
* fix: corrects parameter type for registerPlugin
* docs(fix): add support for {typeof class} expression
* chore: move js-doc-typeof-plugin to build dir
2023-01-24 22:07:30 +01:00
509b3d0757
fix: Ensures iOS can use native fullscreen ( #8071 )
2023-01-24 11:45:49 +01:00
3accbc7c73
fix: Set alt attr on poster img ( #8043 )
...
* fix: Set alt attr on poster img
* use null alt instead
* remove debug text
2023-01-24 09:59:27 +01:00
dff3dd4155
fix: Add poster size styles ( #8022 )
2022-11-24 17:11:40 +01:00
2d96c9d780
feat: Use userAgentData in favour of userAgent ( #7979 )
2022-11-23 09:49:37 -05:00
0545df5289
feat: generate Typescript definitions ( #7954 )
2022-11-23 09:49:35 -05:00
b7080f7d8a
fix(control-bar): make vertical alignment of slider handles more consistent ( #7990 )
...
Fixes #7989
BREAKING CHANGE: This changes how slider handles are styled, so custom skins that are targeting them may need to change.
2022-11-23 09:49:34 -05:00
dec7075386
fix(jsdoc): controlText_ should have a protected access modifier. ( #7972 )
2022-11-23 09:49:33 -05:00
b8ee8858f8
refactor: rename fn.bind to fn.bind_ to strongly indicate it should not be used externally ( #7940 )
2022-11-23 09:49:32 -05:00