mirror of
https://github.com/videojs/video.js.git
synced 2024-12-10 11:10:19 +02:00
26b0d2cadd
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. |
||
---|---|---|
.. | ||
dom-data.test.js | ||
dom.test.js | ||
filter-source.test.js | ||
fn.test.js | ||
format-time.test.js | ||
log.test.js | ||
merge-options.test.js | ||
obj.test.js | ||
promise.test.js | ||
time-ranges.test.js | ||
to-title-case.test.js | ||
url.test.js |