mirror of
https://github.com/videojs/video.js.git
synced 2025-02-12 12:16:27 +02:00
setSource is useful if you care to be fiddling with the source or doing some work depending on what source is set. However, sometimes, you don't need a setSource and want the middleware to always be selected. Now, if setSource is missing, it will implicitly be included in the middleware chain.