I'm using THREE.LoadingManager with multiple loaders, to manage the loading of textures, models, images and cubeTextures before displaying my app.
This allows me to display a loading bar showing the global loading progress, and it works just fine:
const loadingManager = new LoadingManager();
// ...
smaaImageLoader = new SMAAImageLoader(loadingManager);
textureLoader = new TextureLoader(loadingManager);
gltfLoader = new GLTFLoader(loadingManager);
cubeTextureLoader = new CubeTextureLoader(loadingManager);
But I'm struggling to load videos this way. I wish there was a video loader that I could use this way:
videoLoader = new VideoLoader(loadingManager); // Can't do that
If the only way to load videos is to do it "manually" in javascript, is there any way I could communicate to the loadingManager that videos are pending, then loaded?
Thanks