Making a Site "Radio"

Everything related to the visual and coding aspects of websites.
Robin
Events Staffer
Posts: 3072
Joined: Thu Aug 07, 2014 3:15 pm
Location: North Carolina, USA
Contact:

Re: Making a Site "Radio"

Post by Robin »

Alrighty, sounds good. I'll have some time to tinker with it this weekend, most likely ^_^
~ a dream is a wish your heart makes ~
withinmyworld.org
dubiousdisc
Administrator
Posts: 2535
Joined: Thu Jun 21, 2012 5:49 pm
Contact:

Re: Making a Site "Radio"

Post by dubiousdisc »

Hope you don't mind if I move this to Coding and Scripts :P
Robin
Events Staffer
Posts: 3072
Joined: Thu Aug 07, 2014 3:15 pm
Location: North Carolina, USA
Contact:

Re: Making a Site "Radio"

Post by Robin »

That works great--I wasn't really sure where to put it, actually :D :D
~ a dream is a wish your heart makes ~
withinmyworld.org
Mikari
Posts: 3159
Joined: Thu Jun 21, 2012 6:30 pm
Location: Coruscant
Contact:

Re: Making a Site "Radio"

Post by Mikari »

CuriousLittleBird wrote:
Mikari wrote:<audio controls><source src="song.mp3" type="audio/mpeg"></audio>

Probably the most simple way to do it. XD Don't worry, it won't autoplay (unless you specifically set it to do it).
Coolness! Can you add multiple songs/a playlist using that type of code, or is it best for single songs? :D

(<humor> *in old crotchety voice* "I don't know squat 'bout this new-fangled HTML5 business. In myyyy dayyyy, we coded uphill both ways in the snow, and we were HAPPY!" </humor>)
Yes, you can make a playlist by adding php, it's the same concept as the automatic galleryexcept the dirs variable would lead to the folder with the songs and the code in the for each would be this one instead of the image code.
Robin
Events Staffer
Posts: 3072
Joined: Thu Aug 07, 2014 3:15 pm
Location: North Carolina, USA
Contact:

Re: Making a Site "Radio"

Post by Robin »

AWESOME! Thank you, Mikari! (Also, great webdev advice site you got there! :D :D)
~ a dream is a wish your heart makes ~
withinmyworld.org
Mikari
Posts: 3159
Joined: Thu Jun 21, 2012 6:30 pm
Location: Coruscant
Contact:

Re: Making a Site "Radio"

Post by Mikari »

You're welcome and thank you ^^ I plan to add more in the future *looks at looooooong notes* yeah in the future XD
Robin
Events Staffer
Posts: 3072
Joined: Thu Aug 07, 2014 3:15 pm
Location: North Carolina, USA
Contact:

Re: Making a Site "Radio"

Post by Robin »

LOL I hear ya! I still have to add a ton of stuff to my own webdesign help site--and rewrite everything that's already there! xD
~ a dream is a wish your heart makes ~
withinmyworld.org
Mikari
Posts: 3159
Joined: Thu Jun 21, 2012 6:30 pm
Location: Coruscant
Contact:

Re: Making a Site "Radio"

Post by Mikari »

It can be a long process but it's a good way to learn new tricks :D
Robin
Events Staffer
Posts: 3072
Joined: Thu Aug 07, 2014 3:15 pm
Location: North Carolina, USA
Contact:

Re: Making a Site "Radio"

Post by Robin »

Yup yup! (One of my developer friends has been trying to teach me Javascript recently, and there has been much fail on my part...I haz a dumb when it comes to dynamic languages. XD Brain said "LOLNOPE.")
~ a dream is a wish your heart makes ~
withinmyworld.org
Mikari
Posts: 3159
Joined: Thu Jun 21, 2012 6:30 pm
Location: Coruscant
Contact:

Re: Making a Site "Radio"

Post by Mikari »

I have a few basic notes, maybe that can help if you take it step by step. It can be confusing when you're starting, but gets easier.
Post Reply