Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Autoplay playlist not working


So I am messing around with the latest version of jwplayer, my boss has a much older version and wants me to update his website, the issue I am running into is that when I run my page it does not auto play my playlist, everything else is working perfect - here is my code

<script>jwplayer.key="3eIXr6DNksMEn9MBYHtIB88CAujEMW+t0FD02A==";</script>
<div id="tv_shows">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("tv_shows");
playerInstance.setup({
playlist: [{
file: "//purelygeek.com/dev/uploads/Show_61.mp4",
title: 'Fox News Minute',
width: 800,
height: 470,
autostart: true,
mediaid: '1'
},
{
file: "//purelygeek.com/dev/uploads/Show_60.mp4",
title: 'Million Dollar Steinway',
width: 800,
height: 470,
mediaid: '2'
},
{
file: "//purelygeek.com/dev/uploads/myVideo.mp4",
title: 'Fox News Piano Yoga Interview',
width: 800,
height: 470,
mediaid: '3'
}]
});
</script>

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

The following example code from the beginning of your playlist seems to work for me:

var playerInstance = jwplayer(‘myElement’);playerInstance.setup({autostart: true,playlist: [{file: “//purelygeek.com/dev/uploads/Show_61.mp4”,title: ‘Fox News Minute’,width: 800,height: 470,autostart: true, //more playlist videos…..

Please give that a try and let me know if it works for you.

Kindly,
Randy

This question has received the maximum number of answers.