Video keeps looping 10 seconds at the end.

Hello
I just started using plex, and i love it. I loved it so much that i had to buy an Ipad to watch movies and tvshows in bed :smiley:
Im using my windows10 computer as Plex media server, connected with cable to my router which my Ipad is connected to.
My problem is that with many movies ive watched so far (not all), it stop at the end at around 10-20 minutes left of the movie.
It stops(start to buffer?), goes back 10 seconds and runs the same 10 seconds and then stops again. It does this like 3-4 times before it stops completely and i have to start up the movie again from beginning. The same thing still happens, but might not always happen at the same timeframe.
Any idea what could be the cause of this?
I have tried to search but didnt find any useful information as every similar problem seemed different from mine.

No help? :confused: Kinda worthless if i cant watch the last 20 minutes of a movie.