Html 无法解析服务器';DNS地址

Html 无法解析服务器';DNS地址,html,dns,server,Html,Dns,Server,当我尝试使用此代码时,我收到此消息-“无法解析服务器的DNS地址” <div class = "video"> <!-- vid here --> <iframe src="https://player.vimeo.com/video/145884101?color=ffffff&title=0&byline=0&portrait=0" width="900" height="550" frameborder="0" webk

当我尝试使用此代码时,我收到此消息-“无法解析服务器的DNS地址”

<div class = "video">
    <!-- vid here -->
    <iframe src="https://player.vimeo.com/video/145884101?color=ffffff&title=0&byline=0&portrait=0" width="900" height="550" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

</div>

代码工作得很好

唯一可能的原因必须是由于某些ISP限制,您的设备无法访问URL

尝试从不同的设备运行相同的代码,可能在不同的ISP上工作

或者,您设备的防火墙或防病毒程序可能会阻止您的连接


希望这有帮助。:)

看起来不错,对我来说很好…同样,只是在Chrome上的JSFIDLE上进行了测试,效果非常好。当ISP找不到服务器或服务器被ISP阻止时,您会遇到这种错误。尝试将DNS更改为免费DNS服务器