The brightcove field validates input by parsing the Brightcove video ID and makes a MAPI call to find_video_by_id to determine if the video exists.

 $bc->find('find_video_by_id', $video_id) : NULL;

See http://docs.brightcove.com/en/media/ for documenation on MAPI

The current implementation becomes problematic when setting publish times in the future.

In our case, which we believe is typical, we do not use Drupal to upload media to the Video Cloud. It's not documented in the BC API, but if you set the availability time for a video to be any time in the future, find_video_by_id returns null. This causes the BC video field in Drupal to fail to validate.

As a workaround, I'd like to provide a patch that provides a checkbox as part of the field that when, checked, will skip validation.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dustin Currie’s picture

See SS. Patch adds a field setting to allow skipping BC ID validation If selected, a note is displayed below the ID field.

Dustin Currie’s picture

Status: Active » Needs review
k.dani’s picture

Version: 7.x-3.x-dev » 7.x-5.x-dev
Issue summary: View changes

Only version 5 of the module will be supported for Drupal 7, so i moved the issue to that version.

jan.mashat’s picture

Status: Needs review » Closed (won't fix)
Issue tags: +unsupported

This version of the module is no longer supported. Only the latest 2 major versions are supported, which are currently 8.x-1.x and 7.x-6.x. Therefore I'm tagging this issue as 'unsupported' and closing it (won't fix). If this feature is business critical for your organization, please contact your Brightcove account manager for further support.