1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-10 23:30:03 +02:00
video.js/test/unit/control-bar
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
..
playback-rate-menu feat: playback rate button now opens the menu rather than changing the playback rate (#7779) 2022-11-23 09:49:24 -05:00
skip-buttons feat: add skip forward/backward buttons (#8147) 2023-03-06 09:51:59 +00:00
text-track-controls fix: group subtitles and captions when switching tracks (#6008) 2019-06-10 16:15:23 -04:00