1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-23 02:04:34 +02:00
video.js/test/unit
Alex Barstow 8329e64e6f fix: default subtitles not enabled (#5608)
This is a follow-up to this fix in VHS, after which default in-manifest subtitles were still not being correctly enabled. The reason is because Video.js's text track preselection logic was running before the media groups were set up in VHS.

Text track preselection should happen on `loadedmetadata` instead of `loadstart`. According to the HTML spec, text track data is available on `loadedmetadata`, so we should be waiting until then to make preselection decisions.
2018-11-29 14:03:51 -05:00
..
mixins revert: "fix: Allow evented objects, such as components and plugins, to listen to the window object in addition to DOM objects. (#5255)" (#5301) 2018-07-06 13:51:22 -04:00
tech fix: blob urls being ignored as valid sources (#5525) 2018-10-25 18:56:56 -04:00
tracks fix: default subtitles not enabled (#5608) 2018-11-29 14:03:51 -05:00
utils feat: createLogger for easier logging in individual modules (#5418) 2018-09-28 16:52:58 -04:00
autoplay.test.js feat(autoplay): extend autoplay option for greater good (#5209) 2018-06-21 14:32:07 -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 test: update tests to use qunit 2 assert format (#4753) 2017-11-16 18:12:09 -05:00
close-button.test.js @pagarwal123 updated some test code to pass linter 2016-08-05 11:38:08 -04:00
component.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
controls.test.js feat: add 'replay' option to the PlayToggle component. (#5531) 2018-11-02 16:47:52 -04:00
event-target.test.js feat: async change events in TextTrackList with EventTarget#queueTrigger (#5332) 2018-07-25 17:33:30 -04:00
events.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
extend.test.js docs: Update JSDoc comments, so core API docs for the videojs function are accurate. (#5385) 2018-09-28 16:21:18 -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 feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
modal-dialog.test.js test: fix modal dialog test for showing controls (#4707) 2017-10-31 11:35:01 -04:00
player-breakpoints.test.js feat: Add responsive option, which enables breakpoints support. (#5496) 2018-10-11 17:03:33 -04:00
player-play.test.js fix(Player#play): Wait for loadstart in play() when changing sources instead of just ready. (#4743) 2017-11-16 16:41:01 -05:00
player.test.js fix: Don't remove vjs-waiting until time changes (#5533) 2018-11-02 16:43:32 -04:00
plugin-advanced.test.js feat: add a version method to all advanced plugin instances (#4714) 2017-11-07 15:48:24 -05: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(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
resize-manager.test.js refactor: remove IE8 specific changes (#5041) 2018-03-23 13:25:12 -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 chore: fix travis build (#5627) 2018-11-28 17:25:59 -05:00
test-helpers.js feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
video.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
videojs-hooks.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00