Get Video Upload in Video Comment

7 replies [Last post]
Joined: 07/06/2009
Points: 10

Hello,

I am using Kaltura video management in my site. I am really exiting to see the features in Kaltura. But I need one modification in Video Comment.

While clicking the Video Comment, now the Webcam feature only available. But i need to upload video also, so what could i do in this case. Please any one help me.

Joined: 01/05/2009
Points: 1697

Hi Janakiraman,

You can change the kcw used for comments to load a kcw widget with upload feature as well -

  • Open settings.php
  • Find the line: define("KALTURA_KCW_UICONF_COMMENTS", 503);
  • Replace the 503 number with the id of the kcw you'd like to use, for example you can use the same kcw used in the admin panel to get all the rest of the features: 501.
    So it will look like this: define("KALTURA_KCW_UICONF_COMMENTS", 501);
Joined: 07/06/2009
Points: 10

Hi Zohar Babin,

Thanks for your immediate reply and I am using Kaltura in drupal as a module. I have change the coding in drupal as define('KalturaSettings_CW_COMMENTS_UICONF_ID', 601); in kaltura_settings.php file in the directory of Kaltura/Kaltura_client as per your instruction.

It has worked well. Thank you very much once again.

Thanks & Regards,
R.Janakiraman.

Joined: 07/28/2009
Points: 18

Hi all,
I've similar problem.
In my kaltura_settings.php I have
define('KalturaSettings_CW_UICONF_ID', 601);
define('KalturaSettings_CW_COMMENTS_UICONF_ID', 601);
with these settings I can upload videos, images and sound, but not webcam feature.
If I have
define('KalturaSettings_CW_UICONF_ID', 610);
define('KalturaSettings_CW_COMMENTS_UICONF_ID', 610);
then I can only use webcam.
Do you know how can I have both features working together??
Using 501 I also can upload files.
Thanks in advance

Joined: 02/22/2009
Points: 97

in 601 you shoul have the webcam option as well.
do you see the webcam option when you use 601 ?

If you see the webcam option but cannot record from webcam this is a totally different issue.

Gonen

Joined: 07/28/2009
Points: 18

Hello,
I don't see the webcam option, I see these tabs in the video section(file upload, kaltura, my content, youtube, myspace). If I use 610 then I have only webcam option.

I'm using this version of Kaltura CE ( KalturaCE v1.5 - Linux 386 ) and in my kaltura_settings.php I have:

define('ENTRY_TYPE_ROUGHCUT', 2);
define('WORK_WITH_KSHOW', FALSE);

//define('KalturaSettings_SERVER_URL', "http://www.kaltura.com");
define('KalturaSettings_SERVER_URL', "http://10.0.2.230/kalturaCE");
define('KalturaSettings_UICONF_ID', 600);
define('KalturaSettings_BASE_WIDGET_ID', 600);
define('KalturaSettings_ANONYMOUS_USER_ID', "Anonymous");
define('KalturaSettings_CW_UICONF_ID', 601);
define('KalturaSettings_SE_UICONF_ID', 603);
define('KalturaSettings_CW_COMMENTS_UICONF_ID', 601);
define('KalturaSettings_DRUPAL_STATS_URL', "http://corp.kaltura.com/stats/drupal/");
define('KalturaSettings_DEFAULT_VIDEO_PLAYER_UICONF', 'dark');
define('KalturaSettings_DEFAULT_AUDIO_PLAYER_UICONF', 'dark');
define('KalturaSettings_DEFAULT_VIEWPLAYLIST_PLAYER_UICONF', 'dark');
define('KalturaSettings_DEFAULT_RC_PLAYER_UICONF', 'dark');
define('KalturaSettings_DEFAULT_COMMENT_PLAYER_UICONF', 'dark');

class KalturaSettings
{
var $kdp_widgets = array(
'audio' => array(
'dark' => array( 'view_uiconf' => '605', 'remix_uiconf' => '604', 'preview_image' => 'dark-player.jpg' ),
'gray' => array( 'view_uiconf' => '607', 'remix_uiconf' => '606', 'preview_image' => 'gray-player.jpg' ),
'white-blue' => array( 'view_uiconf' => '609', 'remix_uiconf' => '608', 'preview_image' => 'white-blue-player.jpg' ),
),
'viewplaylist' => array(
'dark' => array( 'view_uiconf' => '605', 'remix_uiconf' => '604', 'preview_image' => 'dark-player.jpg' ),
'gray' => array( 'view_uiconf' => '607', 'remix_uiconf' => '606', 'preview_image' => 'gray-player.jpg' ),
'white-blue' => array( 'view_uiconf' => '609', 'remix_uiconf' => '608', 'preview_image' => 'white-blue-player.jpg' ),
),
'video' => array(
'dark' => array( 'view_uiconf' => '605', 'remix_uiconf' => '604', 'preview_image' => 'dark-player.jpg' ),
'gray' => array( 'view_uiconf' => '607', 'remix_uiconf' => '606', 'preview_image' => 'gray-player.jpg' ),
'white-blue' => array( 'view_uiconf' => '609', 'remix_uiconf' => '608', 'preview_image' => 'white-blue-player.jpg' ),
),
'roughcut' => array(
'dark' => array( 'view_uiconf' => '605', 'remix_uiconf' => '604', 'preview_image' => 'dark-player.jpg' ),
'gray' => array( 'view_uiconf' => '607', 'remix_uiconf' => '606', 'preview_image' => 'gray-player.jpg' ),
'white-blue' => array( 'view_uiconf' => '609', 'remix_uiconf' => '608', 'preview_image' => 'white-blue-player.jpg' ),
),
'comment' => array(
'dark' => array( 'view_uiconf' => '605', 'remix_uiconf' => '604', 'preview_image' => 'dark-player.jpg' ),
'gray' => array( 'view_uiconf' => '607', 'remix_uiconf' => '606', 'preview_image' => 'gray-player.jpg' ),
'white-blue' => array( 'view_uiconf' => '609', 'remix_uiconf' => '608', 'preview_image' => 'white-blue-player.jpg' ),
),
);

var $media_types_map = array(
1 => 'Video',
2 => 'Photo',
5 => 'Audio',
6 => 'Remix',
);

Thanks for your help

Joined: 02/22/2009
Points: 97

The xml of 601 doesn't contain the webcam option on CE.

you can copy the section from the 610 xml into the section in the 601 xml to add webcam to the 601.
what you actually do is customizing a specific contribution wizard settings.

to find the xml of 601 / 610 look in the DB:

SELECT conf_file_path FROM ui_conf WHERE id IN(601,610);
Joined: 07/28/2009
Points: 18

Thanks very much for the response.
No I see how it works,
regards