It would be great to extend the media_mover portion of the module so that other parts of Drupal can add/extend the $metaData that goes into the $echove->createMedia() call.

Maybe something like:

  module_invoke_all('brightcove_metadata', $metaData, $node);

Otherwise, there's no way to add tags or extend the description.

Comments

aaron’s picture

Status: Active » Fixed

thanks @joshk; did that with

  drupal_alter('media_brightcove_metadata', $metaData, $node);

instead, so you invoke

function hook_media_brightcove_metadata_alter(&$metaData, $node)

committed to both branches

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 6549d57 on 6.x-2.x, 7.x-2.x by aaron:
    #825240 by joshk | aaron: Allow other modules to alter the MetaData...