![](https://secure.gravatar.com/avatar/78a6aeb856d6b76c6777739c3ed1f769?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Player issue
Hello,
I have used jwplayer. I am adding all youtube video links. I only see first video, no thumbnail for other videos in list also video does not play. I see error -
Failed to load resource: the server responded with a status of 403 (Forbidden) http://www.youtube.com/iframe_api
CAPTIONS(TypeError: Cannot read property 'playVideo' of null)
This is the code I am using.
<div id="player" style="width:600px;height:500px;"></div>
<script src="http://jwpsrv.com/library/KzQ01ABSEeSeXSIACyaB8g.js"></script>
<script type="text/javascript">
jwplayer('player').setup({
playlist: [
{
file: "https://www.youtube.com/watch?v=uM8BD1xDfqc",
},
{
file: "https://www.youtube.com/watch?v=cK669Xsj5oc",
},
{
file: "https://www.youtube.com/watch?v=7e6ih47lFGw",
},
{
file: "https://www.youtube.com/watch?v=VylhIJF50sI",
},
],
autostart: 'true',
shuffle: 'true',
dock: 'false',
height: '500',
width: '600',
listbar:{ position: 'bottom', size: '180',layout: '' }
});
</script>