
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>