1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-04 10:34:51 +02:00
video.js/test/unit
Gary Katsevman 6c67c3084b
fix: improve enabling liveui when switching sources (#7510)
We try and enable the liveui on canplay, however, we only do it the first time after the LiveTracker is enabled. This means that if you change sources, we may not catch that the liveui should be enabled. This is particularly important for browsers where native playback is used, like Safari, as the metadata may not be available until canplay.

This is a follow-up from #7114 which enabled listening to canplay but didn't account for switching videos in the same player.
2021-11-10 22:21:11 -05: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 should cleanup dom data (#7350) 2021-07-28 15:55:35 -04:00
tech fix: prevent dispose error and text track duplicate listeners (#6984) 2021-01-21 17:02:15 -05:00
tracks fix: set the 'lang' attribute on text track display elements, if the language of the track is known (#7493) 2021-11-02 15:59:03 -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: 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: 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: 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 fix: properly return promise from requestFullscreen and exitFullscreen (#7299) 2021-07-06 14:56:02 -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 test: add tests for the click user action (#7507) 2021-11-10 14:17:19 -05:00
player.test.js feat(hooks): Error hooks (#7349) 2021-07-28 13:32:38 -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: run tests via rollup (#5601) 2019-08-30 14:56:41 -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