@Nastia (from WP Chat)
I have following code in a template file: http://pastebin.com/crL0iKiE
But I want to split the jquery - bigger part move to another file and keep only few lines on the bottom (see my comments in the file)
when I do that, I get:
(index):189 Uncaught ReferenceError: CirclePlayer is not defined at HTMLDocument. ((index):189) at i (jquery.js?ver=1.12.4:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at Function.ready (jquery.js?ver=1.12.4:2) at HTMLDocument.K (jquery.js?ver=1.12.4:2)
How to make CirclePlayer defined? It's one of the files used in this circle mp3 player https://domprojects.com/project/flattemplate/dp_jpaudiocircle/ Originaly separated file, but In WP it doesn't work, or I haven't achieved that.