Why use AudioPlay? player is a simple button which "pops" (expands) upon hover can autoplay, loop, and preset volume choose from four different buttons of two sizes and two colors
Honestly, it's just small and cute.
Note that this player requires a direct mp3 link.
(If you search up AudioPlay online and see AudioPlay2, it's a new version of AudioPlay written in JavaScript that can't be used on Gaia because we don't have permission to edit HTML. Stick with the original version as shown in this tutorial.)
Select the options you want your player to have and press "generate code."
You will only need a little bit of that large chunk of code that pops up. Look at this sample code:
<!-- Generated by AudioPlay Online Generator (http://www.strangecube.com/audioplay/) --><!-- End of generated code -->
Copy the part in red.
Confelicity Crew
Beloved Darling
Offline
Confelicity Crew
Beloved Darling
Offline
Posted: Sat Dec 13, 2014 11:21 pm
Parameters
These are some extra things you can add to your url if you want your player to do a little bit more, but if you're already satisfied, you can move on down to the end of this post. (I do think usebgcolor and bgcolor would be useful, though.) Most of the basic commands have already been added to your url by the generator, but if you want to get fancy or clarify what each one does so you can possibly change things in the future, read this page. I have only listed the parameters that work on Gaia; quite a few of AudioPlay's parameters are for JavaScript use.
In order to add a parameter to your url, at the end of the url put &, the name of the parameter, an =, and the value you desire. For example, if you want to make your player autoplay, add &autoplay=yes at the end of your url.
auto no = (default) Player will not autoplay. yes = Player will autoplay.
autostartdelay If the auto parameter is set to yes, autostartdelay specifies the number of milliseconds before the song begins playing. The default value is 500 milliseconds. (One second = 1000 milliseconds.)
bgcolor Changes the background color. If you want to use this, you must first set usebgcolor to yes, then set bgcolor equal to a hex code value with 0x in front of it (not the #).
file Refers to the file of the mp3, or the direct mp3 link. Change this if you want to change the song.
listenstop yes = (default) Player will stop playing if another player's button is clicked. Useful if you have more than one AudioPlay on your profile. no = Player will not stop playing if another player's button is clicked.
listenstop Sets the volume of the track. The default value is 100; it accepts values from 0 to 100.
mode playpause = (default) When the button is clicked, the player plays/pauses song. playstop = When the button is clicked, the player plays/stops song. If the song is stopped and the button is clicked again, the player will start at the beginning of the song.
repeat Changes the number of times the song will play. Set this to zero for an infinite loop.
sendstop yes = (default) If player is clicked, other players that are playing will stop or pause. Useful if you have more than one AudioPlay on your profile. no = If player is clicked, other players that are playing will not stop or pause.
usebgcolor no = (default) Player will have default pale blue background. (It is not transparent as the website indicates.) yes = Player will use background color that is indicated by the bgcolor parameter. (See above.)
Now that you have your url, it's a good idea to plug it into TinyURL and get a smaller url because Gaia tends to truncate url's that are too long and it might mess up your player. However, if your player's url fits into the url box of your media panel without any problem (update and save the page to make sure), then I advise you not to do this because the AudioPlay website will throw away url's that are inactive for a period of time. The tiny url will still function fine on your profile, but if you saved your old url in the hopes of altering it in the future, like the background color of your player or something, it will not work; you'll have to make a new AudioPlay.
Posted: Sun Dec 14, 2014 12:03 am
CSS Theme Override Codes
Here are some codes that will adjust AudioPlay to your profile.
It seems that the original version won't work anymore and I cannot figure out how to get this one to work because I have no experience in this stuff. Can anyone help?
I was wrong it's working okay and audioplay2 is unusable.
It seems that the original version won't work anymore and I cannot figure out how to get this one to work because I have no experience in this stuff. Can anyone help?
I must apologize for responding late!
I had no knowledge of it until this post sweatdrop. Unfortunately the newer version is unusable on Gaia because we are not allowed to manipulate HTML on our profiles.
However, I tested the older version again and it is still functional. What kinds of problems do you have with yours? If possible, may I see your URL?
It seems that the original version won't work anymore and I cannot figure out how to get this one to work because I have no experience in this stuff. Can anyone help?
I must apologize for responding late!
I had no knowledge of it until this post sweatdrop. Unfortunately the newer version is unusable on Gaia because we are not allowed to manipulate HTML on our profiles.
However, I tested the older version again and it is still functional. What kinds of problems do you have with yours? If possible, may I see your URL?
lul it's okay I fixed it I typed it wrong that's all ;3