本文介绍了Youtube嵌入不在Chrome中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有这个网站:
我在其中一篇文章中嵌入了一段YouTube视频(看看商业广告)。
I'm embedding a YouTube video on one of the articles (look under the strip of commercials).
出于某种原因,视频未在Chrome上正确嵌入(无法点击激活,显示控件)虽然它确实完全嵌入到Firefox中。
For some reason the video is not embedded properly on Chrome (Can't click to activate, shows the controls) While it does embed perfectly on Firefox.
我用于嵌入的代码是:
<iframe width="315" height="180" src="//www.youtube.com/embed/gDUUc-D75SQ?controls=0&showinfo=0&rel=0" frameborder="0" allowfullscreen></iframe>
有人可以帮我解决问题吗?
Can someone help me solve the problem?
谢谢。
推荐答案
遇到了同样的问题。尝试:
ran into the same problem. try:
src="http://www.youtube.com...
而不是:
src="//www.youtube.com...
这篇关于Youtube嵌入不在Chrome中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!