1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-04 10:34:51 +02:00
video.js/test/unit
Roman Pougatchev f9fb1d3f51
fix: throw error on muted resolution rejection during autoplay (#7293)
Previously, when autoplay was set to any or muted, we would accidentally swallow the autoplay rejection when we reset the muted state back to what it was. Instead, we want to re-throw the error.
To get it working, we also had to update our tests to try/catch in our fake promise.
2021-06-30 12:28:41 -04:00
..
control-bar/text-track-controls fix: group subtitles and captions when switching tracks (#6008) 2019-06-10 16:15:23 -04:00
mixins fix(evented): log an error on invalid type (#7067) 2021-01-26 13:56:41 -05:00
tech fix: prevent dispose error and text track duplicate listeners (#6984) 2021-01-21 17:02:15 -05:00
tracks fix: do not preload default text track if preloadTextTracks is false (#7021) 2021-03-09 15:07:38 -05:00
utils fix: Better mouse position handling (#5773) 2020-08-31 12:32:57 -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: trigger languagechange event on a language change (#6891) 2020-11-10 18:09:37 -05: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 fix: clear readyQueue with dispose (#6967) 2020-12-11 16:04:09 -05:00
controls.test.js feat(player): Add playbackRates() method (#7228) 2021-06-08 11:01:56 -04:00
event-target.test.js test: memory leak fixes in tests (#5861) 2019-03-18 15:49:48 -04:00
events.test.js feat(events): add any function (#5977) 2019-06-17 14:04:25 -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: user and programmatic seeks with live streams (#7210) 2021-05-10 18:42:17 -04: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: Don't hide menus with one item and a title (#7215) 2021-05-10 18:28:31 -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 feat: Add option to use full window mode instead of using tech's fullscreen (#7218) 2021-06-08 11:54:33 -04: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 fix: do not handle hotkeys in contenteditable elements (#6182) 2019-08-19 14:57:15 -04:00
player.test.js feat: Add normalizeAutoplay option to treat autoplay: true as autoplay: "play" (#7190) 2021-06-08 11:03:51 -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(liveui): tweaks to prevent jitter (#6405) 2020-03-30 17:27:45 -04: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: run tests via rollup (#5601) 2019-08-30 14:56:41 -04:00
videojs-hooks.test.js test: check dom-data to verify we aren't leaking memory and event handlers (#5862) 2019-03-19 15:05:48 -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