For occasions when you want to extend a video provider's configuration to allow per-node overrides, e.g. #562632: Allow the player ID to be overridden per node, it would be useful to be able to tap straight into the video record's "data" field rather than having to build a new data structure.
Comments
Comment #1
aaron commentedshould be easy to implement this: something like hook_emfield_data_alter(&$data). i'll grab this in the next day or two.
Comment #2
aaron commentedI just committed this, then saw there was already a hook in place for altering the data. However, it's not as clearly named, so I think I'll keep it.
Comment #3
aaron commentedok, hook_emfield_data_alter(&$data) is now implemented. I've documented most of the hooks in a new hooks/emfield.php file as well.
Comment #4
damienmckennaAwesome, thanks Aaron!