1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-04 10:34:51 +02:00
video.js/test/unit
mister-ben 9b81afee80
fix: Use timeupdate as well as rvfc/raf for cues (#7918)
Use the timeupdate event as well as the rvfc and raf callbacks to check cues. This is a bit overkill for "usual" playback but avoids edge cases. If the more preceise callback trigger first the cue will update but the timeupdate event should catch any that were missed, notwithstanding that timeupdate was always somewhat unpredictable.

Fixes #7910 (audio in video els and Samsung being weird) and fixes #7902 (no updates off screen).
2022-09-09 13:50:21 -04:00
..
control-bar fix: Fix playback rate iteration if rates are not in the ascending order (#7618) 2022-02-23 12:28:14 -05:00
mixins fix: evented should cleanup dom data (#7350) 2021-07-28 15:55:35 -04:00
tech fix: Conditional requestVideoFrameCallback on Safari (#7854) 2022-07-28 14:20:46 -04:00
tracks fix: Use timeupdate as well as rvfc/raf for cues (#7918) 2022-09-09 13:50:21 -04:00
utils feat(time-ranges): make TimeRanges iteratable if Symbol.iterator exists (#7330) 2021-07-27 12:33:45 -04:00
autoplay.test.js fix: throw error on muted resolution rejection during autoplay (#7293) 2021-06-30 12:28:41 -04: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: Player can be replaced with original el after dispose() (#7722) 2022-05-18 10:59:17 -04:00
controls.test.js refactor: Unify audioOnly mode and audioPoster mode (#7678) 2022-03-17 17:10:33 -04: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
extend.test.js fix(extend): super_ should be available for backwards compatibility (#6329) 2019-11-22 12:32:18 -05:00
live-tracker.test.js fix: improve enabling liveui when switching sources (#7510) 2021-11-10 22:21:11 -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 test: a couple of minor fixes, tweak CI config, swap rollup replace plugin (#7128) 2021-03-09 11:41:01 -05:00
player-breakpoints.test.js test: memory leak fixes in tests (#5861) 2019-03-18 15:49:48 -04:00
player-fullscreen.test.js fix: Guard against Safari adding native controls after fullscreen (#7634) 2022-02-23 12:17:49 -05: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: Player can be replaced with original el after dispose() (#7722) 2022-05-18 10:59:17 -04: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 feat: trigger languagechange event on a language change (#6891) 2020-11-10 18:09:37 -05: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 fix: enable liveui on more livestreams (#7502) 2021-11-09 10:13:51 -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 docs: Fix simple typo, intial -> initial (#6851) 2020-09-22 14:38:19 -04:00
test-helpers.js fix: Improves isSingleLeftClick() to handle mousemove (#6138) 2019-07-29 17:45:40 -04: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 test: a couple of minor fixes, tweak CI config, swap rollup replace plugin (#7128) 2021-03-09 11:41:01 -05:00