As a developer I want to be able to dynamically alter the media youtube query that is being built on `media_youtube_preprocess_media_youtube_video`.

In my case I used it to add the controls=0 parameter to a specific video.

Patch is attached, and I think it should be merged to the next version.

Thanks.

Comments

Status: Needs review » Needs work

The last submitted patch, media_youtube_query_alter.patch, failed testing.

rreiss’s picture

StatusFileSize
new861 bytes
rreiss’s picture

Status: Needs work » Needs review
devin carlson’s picture

Status: Needs review » Closed (works as designed)

You can override the preprocess function using any of the standard methods available in Drupal.