1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-12 11:15:04 +02:00
video.js/test/unit
Pat O'Neill 26b0d2cadd fix(Player#play): Wait for loadstart in play() when changing sources instead of just ready. (#4743)
The core goal here is to make sure the following works in light of some middleware process that makes setting the source more async than next tick:

```js
player.src('...');
player.ready(() => player.play());
```

In fact, given this change, we should even be able to do:

```js
player.src('...');
player.play();
```

Unlike #4665, which would have clarified/changed the meaning of "ready", it remains a reflection of the tech's state and we make better use of the ability to queue things on that state and on the middleware `setSource` process.
2017-11-16 16:41:01 -05:00
..
mixins feat: Stateful Components (#3960) 2017-01-26 22:04:34 -05:00
tech fix: auto-removal remote text tracks being removed when not supposed to (#4450) 2017-06-28 16:38:29 +10:00
tracks perf: null out els on dispose to minimize detached els (#4745) 2017-11-16 11:19:47 -05:00
utils fix(Player#play): Wait for loadstart in play() when changing sources instead of just ready. (#4743) 2017-11-16 16:41:01 -05:00
button.test.js @rlchung fixed tests that weren't disposing players when they finished. closes 3524 2016-08-25 10:58:42 -04:00
clickable-component.test.js fix: prevent dupe events on enabled ClickableComponents (#4316) 2017-05-11 17:32:20 -04: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: addChild instance names should be toTitleCased (#4116) 2017-02-22 14:00:15 -05:00
controls.test.js test: fix IE9 rounding issue with lastvolume test (#4230) 2017-03-24 18:26:28 -04:00
events.test.js test(events): silence error logging in tests (#3835) 2016-12-05 16:22:49 -05:00
extend.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
media-error.test.js @misteroneill fixed IE8 media error test failure. closes #3568 2016-08-24 13:48:39 -04:00
menu.test.js fix: fix the structure of elements in menus to comply with ARIA requirements (#4034) 2017-02-08 01:24:30 -05:00
modal-dialog.test.js test: fix modal dialog test for showing controls (#4707) 2017-10-31 11:35:01 -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: player.src() should return empty string if no source is set (#4711) 2017-11-01 11:12:48 -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 @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
setup.test.js feat: add 'playsinline' player option (#4348) 2017-05-12 16:39:37 -04:00
test-helpers.js feat: middleware (#3788) 2017-01-19 17:29:09 -05:00
video.test.js perf: null out els on dispose to minimize detached els (#4745) 2017-11-16 11:19:47 -05:00
videojs-hooks.test.js feat: Add videojs.hookOnce method to allow single-run hooks. (#4672) 2017-10-30 17:56:21 -04:00