我想在youtube视频中使用JW Player 7。我的代码是:
<!DOCTYPE html>
<html>
<head>
<script src="jwplayer.js" ></script>
<script>jwplayer.key="MY-SECRET-LICENSE-KEY";</script>
</head>
<body>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "https//www.youtube.com/watch?v=ApN73TUVMEU",
primary: 'html5'
});
</script>
</body>
</html>
播放器显示,但视频永远不会启动 - 它只是加载和加载。控制台或播放器中没有错误。我做错了什么?