1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-23 02:04:34 +02:00
video.js/test/unit
Usman Omar 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
..
control-bar feat: add skip forward/backward buttons (#8147) 2023-03-06 09:51:59 +00:00
mixins revert: revert #7067 so we throw an error for invalid event types (#7719) 2022-11-23 09:48:13 -05:00
tech fix: Ensures iOS can use native fullscreen (#8071) 2023-01-24 11:45:49 +01:00
tracks feat: improved text tracks settings labels (#8101) 2023-02-06 13:44:24 -06:00
utils 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
autoplay.test.js feat: update exposed utility functions and deprecate several top-level methods of the videojs global (#7761) 2022-11-23 09:49:23 -05:00
button.test.js fix: Reduce the multiple-announcement by screen readers of the new name of a button when its text label changes. (#5158) 2018-05-11 14:31:28 -04:00
clickable-component.test.js feat: easier configuration of buttons and components via options (#7611) 2022-03-21 12:21:26 -04:00
close-button.test.js fix: handle esc key properly inside of the CloseButton (#6050) 2019-06-18 16:23:26 -04:00
component.test.js feat: addClass and removeClass method supports adding/removing multiple classes (#7798) 2022-11-23 09:49:27 -05:00
controls.test.js feat(lang): use less ambiguous text for the fullscreen button when in fullscreen mode (#7856) 2022-11-23 09:49:25 -05:00
event-target.test.js test: memory leak fixes in tests (#5861) 2019-03-18 15:49:48 -04:00
events.test.js fix: Don't copy deprecated Event.path (#7782) 2022-05-31 15:51:12 -04:00
live-tracker.test.js feat: update exposed utility functions and deprecate several top-level methods of the videojs global (#7761) 2022-11-23 09:49:23 -05:00
media-error.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
menu.test.js fix(accessibility): fix broken aria menu (#7699) 2022-04-15 12:56:29 -04:00
modal-dialog.test.js fix: make sure hotkeys are not triggered outside the player or in form fields within the player (#5969) 2019-06-10 16:15:24 -04:00
play.test.js feat: update exposed utility functions and deprecate several top-level methods of the videojs global (#7761) 2022-11-23 09:49:23 -05:00
player-breakpoints.test.js feat: update exposed utility functions and deprecate several top-level methods of the videojs global (#7761) 2022-11-23 09:49:23 -05:00
player-fullscreen.test.js fix: Exit PIP if entering fullscreen (#8082) 2023-02-01 18:03:36 +01:00
player-loadmedia.test.js feat: Add loadMedia and getMedia methods (#5652) 2019-01-03 13:49:34 -05:00
player-play.test.js feat: Improve currentTime to allow it to be called before player is ready (#6507) 2020-03-25 17:54:51 -04:00
player-user-actions.test.js test: add tests for the click user action (#7507) 2021-11-10 14:17:19 -05:00
player.test.js feat: make retryOnError be the default (#7868) 2022-11-23 09:49:28 -05:00
plugin-advanced.test.js feat: Add a default, plugin-specific logger to advanced plugins (#6693) 2020-07-10 11:59:04 -04:00
plugin-basic.test.js feat: Add 'beforepluginsetup' event and named plugin setup events (e.g. 'pluginsetup:foo') (#4255) 2017-05-11 17:13:22 -04:00
plugin-static.test.js chore(test): silence plugin warning from test (#4173) 2017-03-07 14:13:19 -05:00
poster.test.js fix: Remove img el when there's no poster source (#8130) 2023-02-20 10:04:39 +01:00
reset-ui.test.js fix: ensure that durationDisplay and remainingTimeDisplay exist before calling their 'updateContent' method during reset() (#5839) 2019-03-18 14:54:14 -04:00
resize-manager.test.js fix(resize-manager): Prevent tabbing into RM and hide from Screen Readers (#5754) 2019-01-22 16:36:20 -05:00
seek-to-live.test.js feat: update exposed utility functions and deprecate several top-level methods of the videojs global (#7761) 2022-11-23 09:49:23 -05:00
setup.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
sourceset.test.js feat: Enable sourceset by default (#7879) 2022-11-23 09:49:29 -05:00
test-helpers.js fix: Improves isSingleLeftClick() to handle mousemove (#6138) 2019-07-29 17:45:40 -04:00
title-bar.test.js feat: add a new title bar component (#7788) 2022-11-23 09:49:25 -05:00
video.test.js test: stop running placeholder el test in IE and Safari to prevent errors (#7769) 2022-05-20 13:21:14 -04:00
videojs-hooks.test.js feat(hooks): Error hooks (#7349) 2021-07-28 13:32:38 -04:00
videojs-integration.test.js 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