4

How do I make button that plays a random audio?

 2 years ago
source link: https://dev.to/fiddeou/button-that-plays-a-random-audio-58od
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How do I make button that plays a random audio?

I am currently building my own website, to document all the stuff I do, mainly my music.

I am making it in Google Sites, which makes it significantly easier.
However! I am trying to make a custom button that plays a random audio from a collection of music demos in my google drive.

The button itself was easy to construct (and it looks very neat!), but I have NO IDEA how to make it play a random audio from a g. drive folder.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK