videogular作物的视频,而不是调整 [英] videogular crops video rather than resizing
本文介绍了videogular作物的视频,而不是调整的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有原来的尺寸1920×1080的视频。我使用从基本设置教程的CSS,但尝试设置CSS中的默认高度为1080:
I have a video with original size 1920x1080. I am using the css from the basic set up tutorial, but tried setting the default height in css to 1080:
.videogular-container {
width: 100%;
height: 1080px;
margin: auto;
overflow: hidden;
}
@media (min-width: 1200px) {
.videogular-container {
width: 1170px;
height: 658.125px;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.videogular-container {
width: 940px;
height: 528.75px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.videogular-container {
width: 728px;
height: 409.5px;
}
}
这似乎是溢出的东西 - 它只是隐藏视频的其余部分,而不是真正调整其大小。
That seems to be the overflow thing - it just hides the rest of the video instead of actually resizing it.
在配置我已经这样设置:
In the config I have this set up:
width: 1920,
height: 1080,
responsive: true,
我在做什么错了?
What am I doing wrong?
推荐答案
这与答案相关的<一个href=\"http://stackoverflow.com/questions/30145630/controls-font-symbols-missing-videogular/30166019#30166019\">Controls字体/符号缺失 - videogular
您需要设置Videogular主题正确的URL。
You need to set the correct url for Videogular theme.
这篇关于videogular作物的视频,而不是调整的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文