Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Thanks for this really great easy to use module.
I would like to ask is it possible to use further arguments other than size for YouTube embedding? For example controls, fx as per this page:
http://code.google.com/apis/youtube/player_parameters.html
I have tried a few combinations but nothing seems to work.
Comments
Comment #1
rv0 CreditAttribution: rv0 commentedyeah the code completely ignores these parameters
and there's no grouped way of storing them in the $video variable, so there's no way to quick fix it dynamically, would require more changes to the module I think.
ideally a codec's info would expose the possible parameters to the GUI.
Meanwhile, you can do it in a custom module or theme function.
In a module:
- use hook_theme_registry_alter to add your own theme functions to video_filter_flash and video_filter_iframe
then, in the theme function, use your custom code..
for the iframe i had to use something like this:
Comment #2
DamienMcKennaI believe this was completed in #1908050: Ratio bug & YouTube parameter support (loop, modest branding, controls, autohide, showinfo, theme, color).