javascript - IE 11 中页面加载时 Vimeo 视频白屏问题

标签 javascript jquery html iframe vimeo

我正在使用下面的 iframe 来加载 vimeo 视频。

<iframe src="https://player.vimeo.com/video/12345?title=0&byline=0&portrait=0" width="100%" height="349" frameborder="0" scrolling="no" class="example-video"
				name="example-video" allowtransparency="true" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen>
		</iframe>

页面加载时 Internet Explorer 上显示白屏,但显示播放/暂停按钮。 以下版本的 IE11 上不显示视频缩略图:

11.0.9600.18954, 11.1155.15063.0, 11.2189.14393.0 and higher versions.

enter image description here

我发现问题在于背景图像仅在 IE 版本(11.0.9600.18954 和 11.0.9600.19036 )中呈现,并且类“vp-preview-cover”未添加到具有 data 属性的元素中“数据拇指”。 当我尝试在新选项卡中打开背景图像时,我遇到安全问题。附上相同的屏幕截图。 enter image description here

最佳答案

我们已在多个版本的 IE(最高版本为 11.492.16299.0)上测试了此问题,但无法重现。如果没有更多信息或页面作为示例,我们很难为您提供帮助。

关于javascript - IE 11 中页面加载时 Vimeo 视频白屏问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51675031/

相关文章:

javascript - javascript中的 float 比较

javascript - 一个 JavaScript 对象使用构造函数找到它的原型(prototype)?

python - 我不断得到列表超出范围尝试将 mysql 数据库转换为 html

javascript - 无法将 parseInt 用作 ramdajs 的 ifElse 的 onTrue 或 onFalse 函数

javascript - 如何在jquery倒计时器中设置时区

javascript - jQuery 插件和 Angular 重复

jquery - 记住我复选框 : To Store authentication information safely?

javascript - jQuery .parents([selector]) 不适用于 IE9 和 Firefox

html - 无法让背景填充最小宽度

jquery - 如何制作这样的 css 渐变和鼠标悬停边框