Open abdul-ghaffar opened 5 years ago
Looks like you’re only including the jplayer.playlist.js - you need to include the main jPlayer library as well.
<script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jplayer/2.9.2/jplayer/jquery.jplayer.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jplayer/2.9.2/add-on/jplayer.playlist.min.js"></script>
I have included these all files but facing same problem . $(...).jPlayer is not a function.
I have included these all files but facing same problem . $(...).jPlayer is not a function.
me too
Check your version the compatability of the software. Version are important and must match in order to function. Check also the folder name where you put the files.
I am trying to add jplayer to moodle 3.5, it was working before on moodle 2.8 and 3.2. Now getting $('#jplayer_audio_1').jPlayer({..... is not a function. I am adding following piece of code (which is basically example from jplayer)