An alternative way to play your video — and if needed, I’ve previously shared a method in an earlier thread for playing both regular videos and playlists using JavaScript and the WebView component.
This approach lets you build your own playlist outside of YouTube, with support for random playback. I prefer this method myself, as it gives me complete control over the video collection and the interface.
As long as Glide hasn’t changed its WebView component rules, it should still work.