HTML iframe嵌入链接不起作用

时间:2017-11-26 03:00:20

标签: html video iframe embed src

他们给了我一个很长的视频链接来嵌入html:

http://up.anv.bz/latest/anvload.html?key=eyJtIjoiTElOIiwidiI6IjE1NjI4MTUiLCJhbnZhY2siOiJhbnZhdG9fbWNwX2xpbl93ZWJfcHJvZF80YzM2ZmJmZDRkOGQ4ZWNhZTY0ODg2NTZlMjFhYzZkMWFjOTcyNzQ5IiwicGx1Z2lucyI6eyJkZnAiOnsiY2xpZW50U2lkZSI6eyJhZFRhZ1VybCI6Imh0dHBzOi8vcHViYWRzLmcuZG91YmxlY2xpY2submV0L2dhbXBhZC9hZHM/c3o9MXgxMDAwJml1PS81Njc4L2xpbi5XQVZZL2hyLXNob3cvaG9tZS1yZXBhaXJzLW1hZGUtZWFzeS9kZXRhaWwmaW1wbD1zJmdkZnBfcmVxPTEmZW52PXZwJm91dHB1dD12YXN0JnVudmlld2VkX3Bvc2l0aW9uX3N0YXJ0PTEmdXJsPWh0dHA6Ly93d3cud2F2eS5jb20mZGVzY3JpcHRpb25fdXJsPWh0dHA6Ly93d3cud2F2eS5jb20mY29ycmVsYXRvcj1bdGltZXN0YW1wXSZhZF9ydWxlPTEmY2l1X3N6cz0zMDB4MjUwIn19LCJhbmFseXRpY3MiOnsicGRiIjoiMzY3NjA5MjAiLCJzZXJ2ZXJVUkwiOiJodHRwOi8vYW5hbHl0aWNzLXYyLmFudmF0by5jb20vVmlkZW9BbmFseXRpY3Mvc3JjL3ZpZGVvX2xvZy5waHAifSwib21uaXR1cmUiOnsicHJvZmlsZSI6ImxpbiIsImFjY291bnQiOiJkcHNkcHN3YXZ5LGRwc2dsb2JhbCIsInRyYWNraW5nU2VydmVyIjoibGludHYuMTIyLjJvNy5uZXQiLCJwYXJlbnRQYWdlVVJMIjoiaHR0cDovL3dhdnkuY29tLzIwMTcvMTEvMjEvaG9tZS1yZXBhaXJzLW1hZGUtZWFzeS8iLCJwSW5zdGFuY2UiOiJwMCIsInBsYXllck5hbWUiOiJBbnZhdG9Vbml2ZXJzYWxQbGF5ZXIifSwiZ29vZ2xlQW5hbHl0aWNzIjp7InRyYWNraW5nSWQiOiJVQS0zMjUwNzM2OC0yMiIsImNhdGVnb3J5IjoiQW52YXRvIFdlYiBQbGF5ZXIiLCJldmVudHMiOnsiVklERU9fQ09NUExFVEVEIjoiQ09NUExFVEUiLCJVU0VSX1BMQVkiOiJQTEFZIiwiVVNFUl9QQVVTRSI6IlBBVVNFIiwiVVNFUl9SRVNVTUUiOiJSRVNVTUUifX0sInJlYWxUaW1lQW5hbHl0aWNzIjp0cnVlfSwiaHRtbDUiOnRydWV9

如果我将其复制到浏览器中,则会显示一个视频,而不是我的iframe:

<iframe width="640" height="360" scrolling="no" frameborder="0" allowfullscreen
            src="http://up.anv.bz/latest/anvload.html?key=eyJtIjoiTElOIiwidiI6IjE1NjI4MTUiLCJhbnZhY2siOiJhbnZhdG9fbWNwX2xpbl93ZWJfcHJvZF80YzM2ZmJmZDRkOGQ4ZWNhZTY0ODg2NTZlMjFhYzZkMWFjOTcyNzQ5IiwicGx1Z2lucyI6eyJkZnAiOnsiY2xpZW50U2lkZSI6eyJhZFRhZ1VybCI6Imh0dHBzOi8vcHViYWRzLmcuZG91YmxlY2xpY2submV0L2dhbXBhZC9hZHM/c3o9MXgxMDAwJml1PS81Njc4L2xpbi5XQVZZL2hyLXNob3cvaG9tZS1yZXBhaXJzLW1hZGUtZWFzeS9kZXRhaWwmaW1wbD1zJmdkZnBfcmVxPTEmZW52PXZwJm91dHB1dD12YXN0JnVudmlld2VkX3Bvc2l0aW9uX3N0YXJ0PTEmdXJsPWh0dHA6Ly93d3cud2F2eS5jb20mZGVzY3JpcHRpb25fdXJsPWh0dHA6Ly93d3cud2F2eS5jb20mY29ycmVsYXRvcj1bdGltZXN0YW1wXSZhZF9ydWxlPTEmY2l1X3N6cz0zMDB4MjUwIn19LCJhbmFseXRpY3MiOnsicGRiIjoiMzY3NjA5MjAiLCJzZXJ2ZXJVUkwiOiJodHRwOi8vYW5hbHl0aWNzLXYyLmFudmF0by5jb20vVmlkZW9BbmFseXRpY3Mvc3JjL3ZpZGVvX2xvZy5waHAifSwib21uaXR1cmUiOnsicHJvZmlsZSI6ImxpbiIsImFjY291bnQiOiJkcHNkcHN3YXZ5LGRwc2dsb2JhbCIsInRyYWNraW5nU2VydmVyIjoibGludHYuMTIyLjJvNy5uZXQiLCJwYXJlbnRQYWdlVVJMIjoiaHR0cDovL3dhdnkuY29tLzIwMTcvMTEvMjEvaG9tZS1yZXBhaXJzLW1hZGUtZWFzeS8iLCJwSW5zdGFuY2UiOiJwMCIsInBsYXllck5hbWUiOiJBbnZhdG9Vbml2ZXJzYWxQbGF5ZXIifSwiZ29vZ2xlQW5hbHl0aWNzIjp7InRyYWNraW5nSWQiOiJVQS0zMjUwNzM2OC0yMiIsImNhdGVnb3J5IjoiQW52YXRvIFdlYiBQbGF5ZXIiLCJldmVudHMiOnsiVklERU9fQ09NUExFVEVEIjoiQ09NUExFVEUiLCJVU0VSX1BMQVkiOiJQTEFZIiwiVVNFUl9QQVVTRSI6IlBBVVNFIiwiVVNFUl9SRVNVTUUiOiJSRVNVTUUifX0sInJlYWxUaW1lQW5hbHl0aWNzIjp0cnVlfSwiaHRtbDUiOnRydWV9">
</iframe>

如果我使用youtube嵌入链接,它可以正常工作,所以我知道我的代码很好。

有什么想法吗? 感谢

0 个答案:

没有答案