Webcam test in settings works but fails to load in control tab

What is the problem?
I have set up an ip webcam and can successfully connect to it on my browser. I proceeded to set up the webcam url in the settings in octoprint with url: http://ip/video. When I test the url, it shows the video properly, but when I go to the the control tab it fails to load. I dont know if this is a bug or if I'm doing something wrong. Any help would be appreciated.
What did you already try to solve it?
I tried searching forums and bug reports but could not find this problem. I tried playing with some settings on my webcam with no success.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)
Octoprint version: 1.3.8

What is the complete URL of the cam you're trying to attach to Octoprint ?

Depending on how the camera works, it appears to be similar to this issue