If the drone’s forward velocity can match or exceed the speed of the train, no problem. When he stops the drone in the video it looks like it flying backwards when he catches it, but it is then moving slower than the train (and the pilot).
The speed of the train is completely irrelevant in that example - all the drone knows about (figuratively speaking) is the air around it, which is moving with the train.