What may prevent iframe from displaying? Can it be

2019-09-13 14:35发布

I have 2 servers at Bluehost. One of them displays iframe with no trouble, the other one does not.

This is the code in both cases:

<iframe title="YouTube video player" width="300" height="165" src="http://www.youtube.com/embed/QrzCRa6er8U" frameborder="0" allowfullscreen></iframe>

Both servers are vps. The one that does not work has an ssl certificate from comodo. Do I need special command for it to work?

1条回答
Explosion°爆炸
2楼-- · 2019-09-13 14:59

Try to change your IFRAME src to https instead of http.

查看更多
登录 后发表回答