Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
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);
}