function brightcove_remove_logo_overlay in Brightcove Video Connect 7.4
Same name and namespace in other branches
- 7.3 brightcove.module \brightcove_remove_logo_overlay()
- 7.5 brightcove.module \brightcove_remove_logo_overlay()
Remove a logo overlay from a specific video.
Parameters
$video_id:
$ref_id:
File
- ./
brightcove.module, line 531 - 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_remove_logo_overlay($video_id, $ref_id, $options) {
$result = FALSE;
if (empty($video_id) || empty($ref_id)) {
return FALSE;
}
// Initialize a brightcove connection.
$bc = brightcove_initialize();
try {
$result = $bc
->deleteOverlay($video_id, $ref_id, $options);
} catch (Exception $exception) {
watchdog_exception('brightcove', $exception);
}
return $result;
}