自动将 Vimeo 视频缩放至页面高度的 100%
大家好: 你们中有人知道一种获取 vimeo 嵌入代码并使其缩放到页面 100% 的方法吗?这是我想要做的事情的一个例子。
http://player.vimeo.com/video/4643702
请告诉我!
谢谢
Hi There: Are any of you aware of a method for taking the vimeo embed code and making it scale to 100% of a page? Here is an example of what I'm looking to do.
http://player.vimeo.com/video/4643702
Please let me know!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
设置 width="100%" 会将您的高度设置为您在大多数情况下想要的更小值。并且设置 height="100%" 将不会保留您的纵横比。
我建议你做什么:
他的属性 width 和 height
Setting width="100%" will set your height to something smaller that you want in most cases. And setting height="100%" will not preserve your aspect ratio.
What I suggest you do:
his attributes width and height