1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-10 11:10:19 +02:00
video.js/test/unit/utils
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
..
dom-data.test.js feat: remove flash tech (#3956) 2017-01-19 16:01:56 -05:00
dom.test.js feat: remove flash tech (#3956) 2017-01-19 16:01:56 -05:00
filter-source.test.js fix: support empty src in Player#src (#4030) 2017-02-06 15:48:38 -05:00
fn.test.js fix(throttle): Fix error in Fn.throttle that broke MouseTimeDisplay (#3833) 2016-12-05 16:14:03 -05:00
format-time.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
log.test.js feat: Log Levels (#3853) 2017-01-18 00:35:42 -05:00
merge-options.test.js fix: make mergeOptions behave the same across browsers (#4088) 2017-02-16 16:55:54 -05:00
obj.test.js test: add tests for obj.assign util (#4014) 2017-02-02 11:26:45 -05:00
promise.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
time-ranges.test.js refactor: Remove TimeRanges without an index deprecation warning (#3827) 2017-01-18 00:29:27 -05:00
to-title-case.test.js fix: techOrder names can be camelCased. (#4277) 2017-04-12 17:17:33 -04:00
url.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00