Laravel & jPlayer

72 views
Skip to first unread message

dari...@gmail.com

unread,
Apr 27, 2019, 12:44:54 PM4/27/19
to jPlayer: HTML5 Audio & Video for jQuery
Hey I ran in a problem I cannot solve for some reason. 

To simplify things I have copied jQuery and jPlayer js as well as the css files into the public directory of my Laravel project. 

I Load them within my app -> layout.blade.php file. (jQuery works / tested as I am using BS4 )

<!-- Scripts -->
<script src="{{ asset('./js/jquery-3.4.0.min.js') }}" ></script>
<script src="{{ asset('./js/jquery.jplayer.js') }}"></script>
<script src="{{ asset('./js/app.js') }}" defer></script>
<script src="{{ asset('./js/icecast.js') }}" ></script>

However the files get loaded see below: 

jplayererror.png


But anyways I get this error: jPlayer is not a function. 


console.png


I have another project made with plain php / js / css using the same files in the same order and that works fine. 


Please does anyone have some suggestions?



Reply all
Reply to author
Forward
0 new messages