Hi there.

I imagine this is fairly niche and that the way the module is designed is `works as intended` or `same as media_youtube`. But I notice that moving from beta-5 to dev (in order to get more control over the player) I can no longer specify `100%` for my media sizes.

So I've created a patch to test for non numeric width/height and prevent coercing them to integers. Its not pretty and possibly not intended for use in most cases but for my own reference (and perhaps for others) I include the patch here (well in the next comment when I get a node ID).

Comments

queenvictoria’s picture

And here is the patch

RobW’s picture

If we get rid of the inline style attributes entirely and use html height and width attributes on the iframe, it's easy to add a fluid style to the Vimeo player in a separate css file or with a js method like FitVids. See patch in #1715438: Update code and bring it in line with the latest Media Youtube release. Fixes numerous issues., and let me know what you think.

RobW’s picture

Status: Active » Fixed

#1715438: Update code and bring it in line with the latest Media Youtube release. Fixes numerous issues. is now in dev. You should be able to use any proportional styles on the iframe you desire.

Status: Fixed » Closed (fixed)

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

remaye’s picture

It seams this feature has been covered by updates since, but I still can't get it working.
Sorry if I missed something, but how can it be achieved ?
Thanks.

... I just saw it was possible to specify 100% or auto, but none of this options is working (it just reduce the video to a very small size)