... and use it in CaptionsPanel instead of using the data from the entityLoaded hook
This will give us the MediaInfo data before the hook fires, which simplifies the page load
Also see if it's possible to stop the hook from firing at all (maybe removing it from extension.json will work), because there's no point in executing that code if we already have the data