![](https://secure.gravatar.com/avatar/98e4c16b35a62f3d79368925adcdaec0?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Auto Play Next Video in Embedded YouTube Playlist
Is there a way to make the JW 6 player automatically start playing the next video in an embedded playlist?
After a YouTube video plays I want a video showing my site's logo to automatically play immediately after the first video in the playlist plays.
<script type='text/javascript'>
jwplayer('my-video').setup({
skin: "skins/bekle.xml",
autostart: true,
playlist: [
// Youtube
{
file: 'http://youtu.be/<?php echo $vidid; ?>',
},
{
file: 'http://www.youtube.com/watch?v=ACFwKYEC5rw',
}
],
width: '619',
height: '349',
ga: {
trackerobject: "pageTracker"
},
logo: {
file: 'player_logo.png',
hide:'true',
margin:'5',
position:'top-left',
},
});
</script>