![](https://secure.gravatar.com/avatar/ce3aa7053eda9041383fb28508c44fd6?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
jwplayer doesn't work .getPlaylist is not a function
Hi everyone,
I try to use jwplayer (6.2 version) on a website. It works well on my computer and some others but it doesn't work on ohter. I tried lot of things like install / reinstall / update Flash etc...
The error is still the same:
Uncaught TypeError: d(...).getPlaylist is not a function
at l.model.j.setPlaylist (jwplayer.html5.js:153)
at Object.method (jwplayer.html5.js:193)
HEre my sample code:
$(document).on('ready', function() {
$('.videos').each(function(){
var movie = $(this);
jwplayer(movie.attr('id')).setup($.extend({}, jwplayerDefault, {
file: movie.attr('data-url'),
image: movie.attr('data-image'),
width: '100%',
height: 150
}));
});
});
<div class="col-xs-12 logo video-box no-padding ">
<div id="{{ oVideo.getId() }}" class="videos" data-image="{{ oVideo.getPicto() }}" data-url="{{ oVideo.getPath() }}" data-image="{{ oVideo.getPicto() }}">Loading the player...</div>
</div>
I have checked that any argument was existing (and it is).
Any help?