The control.htm page does not appear correct when using a WebKit browser with an SPZ5000 Philips camera.
Examination suggests that the returned controls.json object is not parsed properly.
Passing controls.json through the JSONLint parser ( http://www.jsonlint.com/ ) reveals that its is not formed correctly (part of controls.json shown below):
"menu": {
"0": "Disabled",
"1": "50 Hz",
"2": "60 Hz",
}
Looks like a menu entry is missing from the result, leaving a comma where there shouldn't be one.
The native JSON.parse in Firefox seems to be more forgiving than JSON.parse in WebKit browsers. Using eval('('+req.responseText+')') in an XMLHttpRequest evaluates the missformed JSON string in both Firefox and WebKit browsers.