Yes. What id recommend is to add a javascript call on your custom button that can launch any playlists in the sticky player.
You might have to figure out how to create that custom button on your WooCommerce listing tho.
A great plugin to design your own WC grid layout is by using Essential Grid third party plugin but im sure there are plenty of other ones which im not familiar with.
You can use some javascript code to call the sticky footer player and its functions.
Thank you, I've did it and it works perfect, but there are two more questions:
Q1. Can you help to retrieve playlists and tracks via PHP? as I see it's something like custom fields, so I want to have each track clickable on each release.
Q 2. And when user opens homepage at first time, the player is not shown, is there some function to create blank/hidden instance of player and when user clicks some tracks to be shown and played?
2) If you want to display the sticky player when your page loads, edit your page and select the playlist you want to show up. see screenshot: https://d.pr/i/p297DY
Hello, is it possible to do something like this with PRO?
I've got WooCommerce products, each product has its playlist with tracks.
need some function, when user clicks play button under each product thumbnail, MP3 player to load its playlist.
Is it possible?
I'm using WooCommerce + Shopkeeper theme and planning to buy your pretty amazing player.
Yes. What id recommend is to add a javascript call on your custom button that can launch any playlists in the sticky player.
You might have to figure out how to create that custom button on your WooCommerce listing tho.
A great plugin to design your own WC grid layout is by using Essential Grid third party plugin but im sure there are plenty of other ones which im not familiar with.
You can use some javascript code to call the sticky footer player and its functions.
IRON.sonaar.player.play()
IRON.sonaar.player.pause()
IRON.sonaar.player.setPlayerAndPlay({ id:"1218"})
IRON.sonaar.player.setPlayerAndPlay({ id:"1218", trackid:"0"})
Where id is the post ID of your playlist post type you want to play. To find out your post ID, see screenshot: https://d.pr/i/KH79f2
Where trackid:"0" would be the first track of the playlist, trackid:"1" the second track, trackid:"2" the third track.
Thanks,
Max from the Sonaar.io Crew
Thank you, I've did it and it works perfect, but there are two more questions:
Q1. Can you help to retrieve playlists and tracks via PHP? as I see it's something like custom fields, so I want to have each track clickable on each release.
Q 2. And when user opens homepage at first time, the player is not shown, is there some function to create blank/hidden instance of player and when user clicks some tracks to be shown and played?
Hi,
1) Unfortunately, customizing it to this kind of need is a bit beyond the scope of our support.
For custom works, we strongly recommend these guys: WP Kraken - https://sonaar.io/go/wpkraken
2) If you want to display the sticky player when your page loads, edit your page and select the playlist you want to show up. see screenshot: https://d.pr/i/p297DY
Thanks,
Max from the Sonaar.io Crew