Use new player created in kalturaCE server in drupal.

8 replies [Last post]
Joined: 07/28/2009
Points: 18

Hi all,
I've created a new player using kalturaCE server.
I have name and id of this new player, but I don't see how can I use it in drupal. Do I have to edit the kaltura_settings.php to add this player??

Thanks

Joined: 03/29/2009
Points: 764

Hi,

Please read this guide .

Joined: 07/28/2009
Points: 18

Thanks for reply.

I followed this guide to connect Drupal to Kaltura. But it doesn't explain how to add players created in Kaltura CE to Drupal.

Joined: 03/29/2009
Points: 764

I'm not sure I understand what you mean by "add players created in Kaltura CE to Drupal". Once you connected the CE to Drupal, all the content you create should be hosted on your servers and you should be able to see it on your site.

Joined: 07/28/2009
Points: 18

In kalturaCE server, in the management console, there is a tab "Application studio" where you can add new customized players.

I was wondering if it is possible to use this new players in drupal.

In drupal administration (Inici » Administer » Site configuration » Kaltura
Kaltura Media Node Settings) there are 3 available default players (dark, grey, white-blue). Is it possible to have more options here?? Maybe it is not possible.

Thanks

Joined: 04/05/2009
Points: 354

Yes, you will need to have a play with the kaltura_settings.php file.

Have a look for this section:

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' ),
      ),
  );

...and add your own configurations here.

Joined: 07/28/2009
Points: 18

great, thank you Chris

Joined: 07/28/2009
Points: 18

Hi, I still have problems with this.

In the kaltura_settings.php, if I change this line for ex.
'dark' => array( 'view_uiconf' => '605', 'remix_uiconf' => '604', 'preview_image' => 'dark-player.jpg' )

it only works if the viwe_uiconf is the id of default players (605, 604, ...), if I use the id of a player created by me, 'view_uiconf' => '48413' then player keeps black and does not work.

Joined: 06/19/2010
Points: 1

Thanks for the tips,you was very helpfull!

Imalaos L
directory2009