how to create a shuffle button for the audio player? Meditation & Sleep App

Moderator: Support

ic2951
Posts: 1
Joined: Sat Oct 02, 2021 1:32 pm

how to create a shuffle button for the audio player? Meditation & Sleep App

Post by ic2951 »

Hi all i am looking to add a shuffle button in the audio player of the Meditation & Sleep App any way i can do it or i will need to hire someone.

Thanks.
LIC

Serhii Kulibaba
Posts: 149
Joined: Tue Aug 27, 2013 1:47 pm

Re: how to create a shuffle button for the audio player? Meditation & Sleep App

Post by Serhii Kulibaba »

Hello,

You just need to shuffle the array "tracks" for that. See the example online, e.g.: https://stackoverflow.com/questions/245 ... ript-array

Post Reply