mirror of
https://github.com/videojs/video.js.git
synced 2025-01-10 23:30:03 +02:00
29a8ee1d60
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. |
||
---|---|---|
.. | ||
html5.test.js | ||
middleware.test.js | ||
tech-faker.js | ||
tech.test.js |