You are here

function brightcove_get_default_image in Brightcove Video Connect 7.6

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

Returns a default image for videos without a thumbnail or still image.

Return value

string Path for the Brightcove placeholder image.

3 calls to brightcove_get_default_image()
brightcove_media_file_formatter_image_view in brightcove_media/brightcove_media.module
The brightcove_media_image file formatter view callback.
theme_brightcove_field_image in ./brightcove_field.formatters.inc
Theme function to render brightcove images.
_brightcove_field_video_browse in ./brightcove_field.video.inc
Video browser form.

File

./brightcove.module, line 2507
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_get_default_image() {
  return drupal_get_path('module', 'brightcove') . '/images/default-image.png';
}