jPlayer multiple instances issue
Clash Royale CLAN TAG #URR8PPP jPlayer multiple instances issue I've created multiple instances of jPlayer on a product list, at main page of my shop. In file product-list.tpl I've attached iframe inside foreach loop which load jPlayer tracks from custom directories - based on a product name. Every instance of jPlayer have individual ID: #jquery_jplayer_1, #jquery_jplayer_2, etc. Everything works fine except playing just from one jPlayer at the same. When some track is playing and then we click on another player there is two songs playing at the same time. I've tried few solutions to solve this problem but nothing seems work. There is script where every instance of jPlayer is created: <script type="text/javascript"> var querystring = window.location.search, match = querystring.match(/playerNumber=(.*)?&*/), playerNumber = match[1]; new jPlayerPlaylist({ jPlayer: "#jquery_jplayer_"+playerNumber, cssSelectorAncestor: "#jp_container_...