You are here

function brightcove_video_save in Brightcove Video Connect 7.6

Same name and namespace in other branches
  1. 7.7 brightcove.video.inc \brightcove_video_save()

Save a video entity.

This call will take care of creating/updating the Video at $video->video as well.

Parameters

Entity $video:

File

./brightcove.video.inc, line 546
Brightcove video related functions.

Code

function brightcove_video_save(Entity $video) {
  return entity_get_controller('brightcove_video')
    ->save($video);
}