【发布时间】:2014-04-28 07:01:28
【问题描述】:
我在 JW 播放器中使用嵌入式 Vevo 视频。它在 Firefox 中运行良好,但在 Chrome 和 Safari 上显示错误:
加载 Youtube 嵌入时出错
这是我的代码:
<html>
<head>
<script src="http://jwpsrv.com/library/2121212121.js"></script>
</head>
<body>
<div id="container-video">
<script type='text/javascript'>
jwplayer("container-video").setup({
file: "http://www.youtube.com/watch?v=j5-yKhDd64s",
width: 545,
height: 350
});
</script>
</div>
</body>
</html>
【问题讨论】:
-
请提供链接。
-
Ethan,这是我的服务器链接.. "54.201.45.212/testvideo.php" 如果您在 chrome 和 safari 上运行此视频,它将无法运行,但会在 firefox 上成功运行
-
有趣的是,这个特定的视频似乎无法通过 YouTube API 嵌入,但它似乎因浏览器而异。也许通过 API 嵌入 Vevo 视频的方式发生了一些变化?