Vimeo 嵌入无全宽

问题描述

所以,我正在尝试嵌入 Vimeo 视频。我正在使用引导程序 16x9 包装器来启用响应式 div。 但是,在 iframe 中,我不断收到一个 svg 图像,该图像在视频包装器的右侧没有内容。 #blockColorblindContent SVG#colorBlindSVG

这是我的代码

<div class="embed-responsive embed-responsive-16by9">
<iframe allow="autoplay; fullscreen; picture-in-picture" allowfullscreen="" frameborder="0" src="https://player.vimeo.com/video/536703520"></iframe>
</div>

如果我使用 devtools 隐藏 svg#colorBlindSVG,我可以让视频全宽。但是,我不能在现实生活中这样做,因为它是一个 Iframe。

有没有人有任何想法或解决过这个问题?

如果我用 YouTube 视频来做,我会得到想要的结果。

页面网址:https://www.elim.org.uk/Articles/607753/Untitled_document.aspx

提前致谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)