jPlayer issue with Follow button


Dear guys,
I tried to implement a simple Follow button on the website I manage.
So I used the generated code
<a href="" class="twitter-follow-button" data-show-count="true">Follow @DreammyOfficial</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+'://';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

The problem is that there is some conflict with jPlayer that gives me this kind of error:
Uncaught TypeError: Cannot read property 'jPlayer' of undefined

on this line
if($("#sound-player").data().jPlayer.status.paused == true){...

What’s the problem, how can I solve it?

closed #2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.