Cannot assign new path for skin

No replies
Joined: 11/29/2012
Points: 46

I have an issue where Krecord looks for the skin only in the default directory. I have set the themeUrl to look for in a particular folder. But krecord keeps searching the default directory and returns skin cannot be found. If I put the skin in the default directory, krecord finds it and loads up fine. Same is the case with locale.xml file.

Below are my flashvars that sets the custom path for the skin.

function displayKrecorder() {
hf.Set("recorder", "krecorder");
var fn = function () {
var attributes = {
name: "krecorder",
data: "/Widgets/KrecordResources/Krecord.swf",
width: "<%=this.Width%>",
height: "<%=this.Height%>",
wmode: "opaque"
};
var params = {
flashvars: "host=<%=this.KalturaServiceUrl%>" +
"&kshowId=-1" +
"&pid=<%=this.PartnerId%>" +
"&subpid=<%=this.SubPId%>" +
"&uid=<%=UserId%>" +
"&ks=<%=this.KalturaConfig()%>" +
"&themeUrl=/Widgets/KrecordResources/skin.swf" +
"&localeUrl=/Widgets/KrecordResources/locale.xml" +
"&disableVideo=true&explicitClientControl=true" +
"&showCountdown=true",
allowScriptAccess: "always",
allowfullscreen: "true",
swliveconnect: 'true',
bgcolor: "#ccc",
wmode: "opaque"
};
var myObject = swfobject.createSWF(attributes, params, 'recorder');
};
swfobject.addDomLoadEvent(fn);
}