You are here

function brightcove_get_default_image in Brightcove Video Connect 7.4

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.5 brightcove.module \brightcove_get_default_image()
  7. 7.6 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.

5 calls to brightcove_get_default_image()
brightcove_admin_settings in ./brightcove.admin.inc
Form builder.
theme_brightcove_field_image in brightcove_field/brightcove_field.formatters.inc
Theme function to render brightcove images.
theme_brightcove_media_image in brightcove_media/brightcove_media.module
The brightcove_media_image file formatter theme function.
_brightcove_field_playlist_browse in brightcove_field/brightcove_field.playlist.inc
_brightcove_field_video_browse in brightcove_field/brightcove_field.video.inc

File

./brightcove.module, line 571
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';
}