Multiple players on same page
-
Hi from Germany,
What a fantastic plugin that is, absolutely perfect for my band page. But I encountered two problems. One could probably be a missing feature, the other is most likely me being a dumbass ??
First problem:
I try to play multiple mp3s with the shortcodes [UIPlayButton] and [UICircularSpectrum] as in your example page, all with a different mp3 linked. Now when I click to play any mp3, the player and the vizualisation starts as expected. When I click the next player on the page, the expected behaviour was that the still running first mp3 would stop, but that doesn’t happen. Any chance to get that fixed?
Second problem:
To surround the players nicely with a bunch of text and images, I tried to position them either floating left, right, or centered. To achieve this, I surrounde the two shortcodes with a div with a class ‘alexplayer position’. Next I put this into my css:.alexplayer { margin-right: 10px; margin-bottom: 10px; margin-top: 10px; float: left; border: 1px solid; border-color: #dedfde; } .alexplayer.right { margin-right: 0px; margin-left: 10px; float: right; border-color: #ff0000; } .alexplayer.center { margin-right: auto; margin-left: auto; border-color: #00ff00; display: inline-block; } .alexplayer.center:after { content: ""; display: table; clear: both; }
The borders are only to visualize which player is meant. I could not have them positioned in a nice way, especially the centered play button is not centered. Any Idea how I coould overcome this?
Once again: Kudos for your plugin. It is one of the best looking players and I love the idea of the vizualisation.
- The topic ‘Multiple players on same page’ is closed to new replies.