You are here

function brightcove_video_load in Brightcove Video Connect 7.7

Same name and namespace in other branches
  1. 6.2 brightcove.module \brightcove_video_load()
  2. 6 brightcove.module \brightcove_video_load()
  3. 7.2 brightcove.module \brightcove_video_load()
  4. 7.3 brightcove.module \brightcove_video_load()
  5. 7.4 brightcove.module \brightcove_video_load()
  6. 7.5 brightcove.module \brightcove_video_load()
  7. 7.6 brightcove.video.inc \brightcove_video_load()

Load a video entity by bvid.

This will try to guess a client to use and puts it under the returned entity object's client property. If you need to use another client, feel free to change it in a subsequent call.

Parameters

string $bvid: The bvid of the video entity.

@return Entity The video entity.

1 call to brightcove_video_load()
brightcove_video_load_by_video_id in ./brightcove.video.inc
Load a video entity by Video->getId().
1 string reference to 'brightcove_video_load'
brightcove_entity_info in ./brightcove.module
Implements hook_entity_info().

File

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

Code

function brightcove_video_load($bvid) {
  return entity_load_single('brightcove_video', $bvid);
}