function brightcove_get_default_image in Brightcove Video Connect 7.5
Same name and namespace in other branches
- 6.2 brightcove.module \brightcove_get_default_image()
- 6 brightcove.module \brightcove_get_default_image()
- 7.7 brightcove.module \brightcove_get_default_image()
- 7.2 brightcove.module \brightcove_get_default_image()
- 7.3 brightcove.module \brightcove_get_default_image()
- 7.4 brightcove.module \brightcove_get_default_image()
- 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.
4 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.
- _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';
}