1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-10 23:30:03 +02:00
video.js/test/unit/tech
Gary Katsevman 29a8ee1d60
fix: cache middleware instances per player (#4939)
Middleware factories currently get run each time a source is set. Because middleware are assocated with a player, the factories should only run once per player.

This PR fixes it so that we associate a middleware instance with a middleware factory per player.
Each time a player is disposed, we will clear the cache of the middleware instances for that player.

Fixes #4677.
2018-02-12 17:30:27 -05:00
..
html5.test.js fix: do not patch canplaytype on android chrome (#4885) 2018-01-30 11:20:33 -05:00
middleware.test.js fix: cache middleware instances per player (#4939) 2018-02-12 17:30:27 -05:00
tech-faker.js feat: add mediator middleware type for play() (#4868) 2018-01-30 11:30:42 -05:00
tech.test.js fix: auto-removal remote text tracks being removed when not supposed to (#4450) 2017-06-28 16:38:29 +10:00