mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
Update src/js/tech/middleware.js per feedback
Co-authored-by: Gary Katsevman <git@gkatsev.com>
This commit is contained in:
parent
538d663436
commit
a13bbfcd2a
@ -92,7 +92,7 @@ export function setSource(player, src, next) {
|
||||
* @return {Tech~SourceObject}
|
||||
* A source object.
|
||||
*/
|
||||
export function currentSource(src, middleware) {
|
||||
export function currentSource(middleware, src) {
|
||||
return middleware.reduceRight(middlewareIterator('currentSource'), src);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user