
YouTube video not working
Full html:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<script src="http://jwpsrv.com/library/<account_token_here>.js"></script>
<title></title>
</head>
<body>
<div id='playerXvfdHDkXFoqa'></div>
<script type='text/javascript'>
jwplayer('playerXvfdHDkXFoqa').setup({
file: '//www.youtube.com/watch?v=42BPapM3g6E',
title: 'my title',
width: '100%',
aspectratio: '16:9'
});
</script>
</body>
</html>
When I press Play button, the player stucks, it shows endless loading spinner.