Skip to content

Vimeo wrapper - setting width and height #238

thomasmery opened this Issue Nov 26, 2012 · 0 comments

1 participant



I am having trouble understanding how width and height are set on a Vimeo video element instance

the code in the wrapper tries to get the width and height from the parent element (a div in my case)

but I could only get it working when setting dimensions as inline styles and replacing line 79 and 80 with :

width: parseInt(|0 ? parseInt( : MIN_WIDTH,
height: parseInt(|0 ? parseInt( : MIN_HEIGHT,

Also I could not set a width or height in the options when creating the player

I am probably doing something wrong but would lova a little help


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.