Step 1: Login to “Kaltura Management Console” (http://kaltura.com/kmc)
Step 2: Go to “Application Studio” make a “New player (Single Video)” with the features that you want for your player
Step 3: Get the “Name” and “ID” of your new player eg.
Name - “haysstreet”
ID - “1001725”
Step 4: You will now have to change 2 of the files that are included in the Kaltura module, the first one is “Kaltura \ kaltura_client \ kaltura_settings.php”. I have done this for videos as shown below
'video' => array(<br>'dark' => array( 'view_uiconf' => '605', 'remix_uiconf' => '604', 'preview_image' => 'dark-player.jpg' ),<br>'gray' => array( 'view_uiconf' => '607', 'remix_uiconf' => '606', 'preview_image' => 'gray-player.jpg' ),<br>'white-blue' => array( 'view_uiconf' => '609', 'remix_uiconf' => '608', 'preview_image' => 'white-blue-player.jpg' ),<br>'haysstreet' => array( 'view_uiconf' => '1001725', 'remix_uiconf' => '1001725', 'preview_image' => 'white-blue-player.jpg' ),<br>), |
This will then show up on the admin setting of the Kaltura module (admin/settings/kaltura/kaltura_entry_settings)
Step 5: The second file in the Kaltura module is “Kaltura \ includes \ kaltura.themeing.inc” on line “556” Original has this:
$swf_url = KalturaHelpers::getSwfUrlForWidget($wid .'_'. $uicid .'/entry_id/'. $params["entry"] .'/uiconf_id/'. $uicid); |
I have change mine to look like this
$swf_url = KalturaHelpers::getSwfUrlForWidget($wid .'/entry_id/'. $params["entry"] .'/uiconf_id/'. $uicid); |
All I did was remove the <b>_'. $uicid .'</b> That comes after <b>$wid .</b>
My reason for doing this was because it if you don’t you page code looks like this
<b><param name="movie" value="http://www.kaltura.com/kwidget/wid/_13567<font color="#FF0000">_1001725</font>/uiconf_id/1001725/entry_id/sg8y8smy4o"/></b> |
When it should look like this
<param name="movie" value="http://www.kaltura.com/kwidget/wid/_13567/uiconf_id/1001725/entry_id/sg8y8smy4o"/> |
Comments
Comment #1
RacerFx commentedComment #2
6element commentedhttp://www.kaltura.org/how-customize-drupal-media-player <----this work
Comment #3
timofey commentedThe number of Plays and the number of Views are not recorded with the new player.
see http://www.kaltura.org/drupal-6-how-do-i-remove-share-button-end-video-p...