drupal-media/entity_embed — pull request #35 by davereid (2014-06-07 03:16:53+00:00)
Title: Added hook_entity_preembed().

This will allow modules to alter the entity before it will be rendered. I was thinking about the use case we've had with the Media module that people want to override specfic fields on the entity when it is embedded in a specific place. Right now there's no way for that to happen since the entity is loaded fresh on embed and render.