Copyright © 2011 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
Configuring advanced editor with the All in One Video Module.
You have to tweak the module a little bit - do you have some technical knowledge?
Yes, I have a software engineering background. What do I need to tweak?
I tried changing the getSimpleEditorUrl function in kaltura_helpers.php file to:
function getSimpleEditorUrl($uiConfId = null)
{
if ($uiConfId)
return KalturaHelpers::getKalturaServerUrl() . "/kae/ui_conf_id/" . $uiConfId;
else
return KalturaHelpers::getKalturaServerUrl() . "/kae/ui_conf_id/" . KalturaSettings_SE_UICONF_ID;
}
But the advanced editor didn't display when I clicked remix.
Hi, you got a good start...
You need to change the UIConf ID of the editor in kaltura_settings.php
Code: Select all
define('KalturaSettings_SE_UICONF_ID', 47400);
in kaltura.themeing.inc you should add a JS Map object which should be transferred in the flashVars:
declare object (NOTE - this is .patch output):
Code: Select all
@@ -433,6 +433,10 @@ function theme_simple_editor($theme_para
$flash_embed = '
+ var callbacksObj = {
+ publishHandler:onSimpleEditorSaveClick,
+ closeHandler:onSimpleEditorBackClick
+ };
add to flashVars (2-3 lines after the above code):
Code: Select all
kso.addParam("flashVars", "'. $theme_params->flashVarsStr .'&jsDelegate=callbacksObj");
After doing those steps, AE should work fine in your drupal.
Gonen
I now get a blank screen for the editor.
So should the theme_simple_editor function look like the following:
function theme_simple_editor($theme_params, $no_refresh) {
$javascript ='
function onSimpleEditorBackClick(modified) {
if (modified == 0) {
setTimeout("window.top.kalturaCloseModalBox();", 0);
} else {
';
if ($no_refresh === TRUE) {
$javascript .= 'setTimeout("window.top.kalturaCloseModalBox();", 0);';
}
else {
$javascript .= 'setTimeout("window.top.kalturaRefreshTop();", 0);';
}
$javascript .= '
}
return;
}
function onSimpleEditorSaveClick(modified) {
}
';
$flash_embed = '
var callbacksObj = {
publishHandler:onSimpleEditorSaveClick,
closeHandler:onSimpleEditorBackClick
};
var kso = new SWFObject("'. $theme_params->swfUrl .'", "kalturaSe", "'. $theme_params->width .'", "'. $theme_params->height .'", "9", "#000000");
kso.addParam("flashVars", "'. $theme_params->flashVarsStr .'&jsDelegate=callbacksObj");
kso.addParam("flashVars", "'. $theme_params->flashVarsStr .'");
kso.addParam("allowScriptAccess", "always");
kso.addParam("allowFullScreen", "TRUE");
kso.addParam("allowNetworking", "all");
kso.write("divKalturaSe");
';
return theme("kaltura_modal", array("javascript" => $javascript, "flashEmbed" => $flash_embed));
}
Hi,
If you could upload the kaltura.themeing.inc file here, it would be great.
If you could give me access to your site, so I'll have a look - would be even better.
I have uploaded the kaltura.themeing.inc file and I'll email you access to the site.
Thank you for your help.
Hi,
I almost got it working. I added a field to my story and the Advanced Mix can be used there. The files upload, but when i try to edit them the system stalls. I seem to get a connection problem with Kaltura.
I also had a few previous mixes (made before trying to use advanced editor). They can be edited in the advance editor. I think that's strange. It does edit my old material, but not my new uploads. Only thing not working is overlay with text. When I insert a text the resulting mix will stall once it has reached the text in the movie.
Can you help me out?
In the post you find my original files and the changed ones.
I know I am almost there, but not yet.
I have been only using Drupal for a few days. Also tried Wordpress and Joomla last week. I am sticking with Drupal, I love it. Hope you can help me out.
Since you can get the AE to load, I assume the code changes are fine.
Looking at the files you posted, it seems OK.
Perhaps it's a bug in the AE itself.
Can you make the site public so we can login and test this ?
If so - please send me the following details by PM (or mail to gonen . radai [at] kaltura . com):
* link to existing OLD mix that you tried to edit with the AE
* admin username
* admin password
Hi I've been reading this thread and want to set up the KAE in my Kaltura drupal module. There are mentions to the kaltura.themeing.inc file being uploaded here, but haven't been able to find it.
Thanks
You should see this under the Kaltura drupal module folder.
Thanks, I was actually hoping to find a copy of the modified kaltura.themeing.inc as well as the modified kaltura_settings.php file.
Has anyone successfully gotten the KAE to work in the Drupal all in one Module?
-Bryan
Hi,
I've been reading all the forums about kae, but I still didn't find any way to use kae in moodle o wordpress. If someone knows how to do it, please let me know.
Thanks.
Dave Trey
davetrey@gmail.com
Flash web developer
How can the plugin be configured to use the advanced editor?
Thanks,
Ricardy