In my Reactjs project I am using videojs and have implemented a feature that plays the next video in the list if the current video is ended.
But before moving into next video, I want to show a loading screen where user can choose to cancel the loading of next video or he does nothing so next video plays automatically. This behavior is similar to Udemy.
You can find the sample gif here
That would be great if there is some videojs plugin available for this. I have checked some plugins but none of them provide this feature. If no plugin/sample is available then how can I implement this on my own?