Does anyone know if viemo player suports percentage dimensions?

Hi there,
I am just wondering if anyone knows when embedding a vimeo player into a site, can you specify dimensions using percentages, or only exact sizes.
I would really appreciate someones experience on this subject.
Thanks,
A
LVL 11
Amanda WatsonWeb DeveloperAsked:
Who is Participating?
 
Ishaan RawatConnect With a Mentor Designer | Developer | ProgrammerCommented:
Check this page...

http://stackoverflow.com/questions/5867985/iframe-100-height

Its similar to what you want...
If you encounter a problem please comment...
0
 
Milind KoyandeConnect With a Mentor Commented:
Hello,

Vimeo provides you following code for embedding video on your site.
 
<iframe src="http://player.vimeo.com/video/66624261?byline=0&amp;badge=0" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> <p><a href="http://vimeo.com/66624261">Tokyo Dreams</a> from <a href="http://vimeo.com/roguefilms">Rogue</a> on <a href="http://vimeo.com">Vimeo</a>.</p>

Open in new window


To change the dimensions you will have to mention the width and height i.e. width="500" height="281"
0
 
Amanda WatsonConnect With a Mentor Web DeveloperAuthor Commented:
Yes my question however was, does vimeo accept percentages and it seems one expert is telling me that IFRAMES accept percentages..but not if vimeo will respond to that correctly?
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
Ishaan RawatConnect With a Mentor Designer | Developer | ProgrammerCommented:
Well, vimeo embed code is also in iframe, so the experts are indirectly telling you a way how to set the width of vimeo in percentage....
0
 
MereteConnect With a Mentor Commented:
Wouldn't it depend on the actual video scale height width of the video your wanting to embed? What is the source.
Fluid width html5 tips

Also consider JW player
http://www.longtailvideo.com/jw-player/features/
http://www.longtailvideo.com/jw-player/
Flow Player
http://flowplayer.org/
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.