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
Comment #1
3rdLOF CreditAttribution: 3rdLOF commentedSame here...Where do the presents come from? Can they be edited? Created? Added?
Comment #2
heyyo CreditAttribution: heyyo commentedAny updates on video presets manager would be really appreciated...
Comment #3
clemens.tolboom#1091686: Add documentation to describe Media + File Styles + Views + Presets = Lost in Media universe. mentions some docs update on styles.
Comment #4
heyyo CreditAttribution: heyyo commentedI finally create my own format with the module custom formatter http://drupal.org/project/custom_formatters
Comment #5
rggoode CreditAttribution: rggoode commentedsubscribe
Comment #6
Maciej Lukianski CreditAttribution: Maciej Lukianski commentedYou 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.Comment #7
Maciej Lukianski CreditAttribution: Maciej Lukianski commented