You are here

function kaltura_update_entry_thumbnail in Kaltura 7.3

Same name and namespace in other branches
  1. 5 includes/kaltura.notification.inc \kaltura_update_entry_thumbnail()
  2. 6.2 includes/kaltura.notification.inc \kaltura_update_entry_thumbnail()
  3. 6 includes/kaltura.notification.inc \kaltura_update_entry_thumbnail()
  4. 7.2 includes/kaltura.notification.inc \kaltura_update_entry_thumbnail()

Helper function to update the thumbnail url of an entry.

Parameters

$notification:

1 call to kaltura_update_entry_thumbnail()
kaltura_forward_notification in includes/kaltura.notification.inc
Checks the notification type and forwards the notification to the appropriate function.

File

includes/kaltura.notification.inc, line 139
Contains functions for handling all notifications from kaltura.

Code

function kaltura_update_entry_thumbnail($notification) {
  $entity = kaltura_entry_load($notification['entry_id']);
  $entity->kaltura_thumbnail_url = $notification['thumbnail_url'];
  kaltura_entry_save($entity);
}