Ipad with HDMI

I have an Ipad Pro 11 2018. Everything is up to date. I was playing a video to the tv via HDMI and after 6 minutes, it froze. The only way I could restart it was to disconnect the HDMI cable. I thought maybe there was something wrong with the HDMI adapter I was using, so I tried another. Same thing. Then I tried another file. Same thing. The file, btw, is an AVI. Is there anything that causes the file to stop playing after a few minutes (DRM or something)? Any ideas?

Did you try a different hdmi cable or just an adapter?

You know I didn’t try that. The cable has worked with other devices. But will give it a try