I'm still pretty certain that we're on the right track... the code in question is:
imagecache_form.getForm().load({
url : 'api/imagecache/config/load',
success : function (form, action) {
imagecache_form.enable();
},
failure : function (form, action) {
alert("FAILED");
}
});
You can test this by hacking config.js to say "BANANA" instead of "FAILED" :) .
Now, I haven't traced all the code, but I'm still pretty certain (as above) that this is failing because it just can't read or write to the config file. It's possible that there's a syntax error in the file or something similar, so that's worth checking, but let's be certain that the files are accessible first.
You say that hts and root are in video ... but video doesn't have access to those files... mine are hts/video, yours are hts/hts. Not necessarily the problem, but...
Options if we can't find it:
1. Hack the code in config.js to ignore or over-ride the error
2. Rebuild with --disable-imagecache
3. Rebuild "as is" and see what errors are thrown, because including imagecache clearly didn't work
What platform are you on?
And do you need transcoding?