I am testing the Media module for Drupal 7 and have enabled media_youtube and the supporting modules (including styles). I'm trying to understand this new interface as it is radically different from emfield. What I am trying to do is set the default height/width for the youtube player which is being rendered through a CCK field on a node. I can easily get the youtube video to play, but I am limited to a small number of presets for the display.

It looks like I can add styles (admin/config/media/file-styles), but, again, limited to drop-down lists of presets. I'm not entirely sure what this file-styles section is supposed to do for me!

I must be doing something wrong.

Comments

3rdLOF’s picture

Same here...Where do the presents come from? Can they be edited? Created? Added?

heyyo’s picture

Any updates on video presets manager would be really appreciated...

clemens.tolboom’s picture

heyyo’s picture

I finally create my own format with the module custom formatter http://drupal.org/project/custom_formatters

rggoode’s picture

subscribe

Maciej Lukianski’s picture

You are currently limited to presets. There does not seem to be a UI at the moment.

You can however create your own presets if you have styles module enabled. You can do it with hook_styles_default_presets()

or you can alter the existing presets provided by media_youtube module (this is easier) with
hook_styles_default_presets_alter(&$style) in $styles you get all the presets with their settings which you can override.

Maciej Lukianski’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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