function brightcove_field_init in Brightcove Video Connect 7.3
Same name and namespace in other branches
- 7.4 brightcove_field/brightcove_field.module \brightcove_field_init()
- 7.5 brightcove_field/brightcove_field.module \brightcove_field_init()
Implements hook_init().
File
- brightcove_field/
brightcove_field.module, line 31 - Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.
Code
function brightcove_field_init() {
$path = brightcove_get_experiences_js_url();
drupal_add_js($path, array(
'type' => 'external',
'defer' => false,
'async' => true,
));
}