For context and rationale, see:
- T202154: Audit modules 2018: Reduce registry overhead
This extension has long been one of the largest extensions in terms of its share in the startup.js payload for all page views in production. From Grafana: Startup manifest size it currently registers 54 module bundles which transfer about 2KB on every page view during the critical path just to communicate the client about their existence.
I've thus far restisted the temptation to reduce this proactively knowing that a lot of this will be cut away once the transition from Kaltura to video.js completes (ref T100106).
However, I think there's a number of modules here even ignoring the legacy Kaltura parts that can potentially be reduced, and we may be able to do some very quick/easy consolidation or removal of unused modules besides that as well.