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

Playlist not working


JWPlayer 6.9.4867 (pro version)

Call in <head> tag

<!-- jwplayer code -->
<script type="text/javascript" src="/content/js/jwplayer.js"></script>
<script type="text/javascript"> jwplayer.key = "QDH7fGBs7Mnw09CLoClTj31J55xwYg6yYT0qzw==";</script>


The following code works.

<script type="text/javascript">
jwplayer("myElement").setup({
file: "http://www.artistshare.com/media_proxy.aspx?id=23745&ex=.mp4&mediaTypeID=4",
type: "mp4",
width: 980,
height: 350,
image: "http://www.artistshare.com/images/projects/531/16531.jpg",

});

</script>

When converted to a playlist it does not. Media will not load. "Error loading player: No playable sources found"


<script type="text/javascript">
jwplayer("myElement").setup({

playlist: [{
image: "http://www.artistshare.com/images/projects/531/16531.jpg", file: "http://www.artistshare.com/media_proxy.aspx?id=23745&ex=.mp4&mediaTypeID=4", title: "Testing"
}],

height: 350,
width: 980,
listbar: {
position: 'right',
size: 260
},

});

</script>


3 Community Answers

Todd

JW Player Support Agent  
1 rated :

The type: ‘mp4’ parameter is most likely required since your file URL doesn’t include the usual file extension syntax. Try this:

playlist: [{
image: “http://www.artistshare.com/images/projects/531/16531.jpg”,
file: “http://www.artistshare.com/media_proxy.aspx?id=23745&ex=.mp4&mediaTypeID=4”,
type: ‘mp4’,
title: “Testing”
}],

brian

User  
0 rated :

That was it!! thank you!

Todd

JW Player Support Agent  
0 rated :

You’re welcome. Glad it worked!

This question has received the maximum number of answers.