If the internet connection is unstable, it will try to display the streaming part again in the new quality.
This is why the video appears to be looping to the viewer.
If the video loops and cannot be viewed, change the player's resolution from 'Auto' to a fixed low resolution such as '360P' to ensure stable viewing.
See also Unstable Video and Audio.