Making a Site "Radio"
-
- Events Staffer
- Posts: 3072
- Joined: Thu Aug 07, 2014 3:15 pm
- Location: North Carolina, USA
- Contact:
Re: Making a Site "Radio"
Alrighty, sounds good. I'll have some time to tinker with it this weekend, most likely ^_^
-
- Administrator
- Posts: 2535
- Joined: Thu Jun 21, 2012 5:49 pm
- Contact:
-
- Events Staffer
- Posts: 3072
- Joined: Thu Aug 07, 2014 3:15 pm
- Location: North Carolina, USA
- Contact:
Re: Making a Site "Radio"
That works great--I wasn't really sure where to put it, actually :D :D
Re: Making a Site "Radio"
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.CuriousLittleBird wrote:Coolness! Can you add multiple songs/a playlist using that type of code, or is it best for single songs? :DMikari 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).
(<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>)
-
- Events Staffer
- Posts: 3072
- Joined: Thu Aug 07, 2014 3:15 pm
- Location: North Carolina, USA
- Contact:
Re: Making a Site "Radio"
AWESOME! Thank you, Mikari! (Also, great webdev advice site you got there! :D :D)
Re: Making a Site "Radio"
You're welcome and thank you ^^ I plan to add more in the future *looks at looooooong notes* yeah in the future XD
-
- Events Staffer
- Posts: 3072
- Joined: Thu Aug 07, 2014 3:15 pm
- Location: North Carolina, USA
- Contact:
Re: Making a Site "Radio"
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
Re: Making a Site "Radio"
It can be a long process but it's a good way to learn new tricks :D
-
- Events Staffer
- Posts: 3072
- Joined: Thu Aug 07, 2014 3:15 pm
- Location: North Carolina, USA
- Contact:
Re: Making a Site "Radio"
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.")
Re: Making a Site "Radio"
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.