Can you try copying the file to your headset and playing it there, just to confirm it's not actually a playback issue? It could be you're trying to play a h264 video that's over 4k resolution (instead of an h265 file), which would result in slow playback due to the lack of hardware accelerated decoding.