我在播放"容器流体"的滑块中播放视频时遇到了麻烦。幻灯片和视频很好地覆盖了浏览器视图的整个宽度,但是当我缩小浏览器本身,或者在较低的分辨率下测试网站时,我可以看出视频只从右侧裁剪,因此视频中吸引人的中心点从中心移动到右侧。以下是一些截图,说明了我的意思。
全屏http://puu.sh/jrnmO/34b7b9eb4b.jpg
<一半屏幕/strong>http://puu.sh/jrnot/c56f0d06c3.jpg
根据视图的宽度使其居中?任何帮助都是感激的!
//编辑
抱歉,我应该事先显示一些代码。下面是幻灯片中的一个示例。其余部分与不同视频url相同。