Page 2 of 3
Re: Making a Site "Radio"
Posted: Thu Sep 11, 2014 1:36 pm
by Robin
Alrighty, sounds good. I'll have some time to tinker with it this weekend, most likely ^_^
Re: Making a Site "Radio"
Posted: Thu Sep 11, 2014 4:11 pm
by dubiousdisc
Hope you don't mind if I move this to Coding and Scripts :P
Re: Making a Site "Radio"
Posted: Fri Sep 12, 2014 10:50 am
by Robin
That works great--I wasn't really sure where to put it, actually :D :D
Re: Making a Site "Radio"
Posted: Tue Sep 16, 2014 12:30 pm
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.
Re: Making a Site "Radio"
Posted: Tue Sep 16, 2014 9:06 pm
by Robin
AWESOME! Thank you, Mikari! (Also, great webdev advice site you got there! :D :D)
Re: Making a Site "Radio"
Posted: Tue Sep 16, 2014 9:24 pm
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
Re: Making a Site "Radio"
Posted: Wed Sep 17, 2014 12:41 am
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
Re: Making a Site "Radio"
Posted: Thu Sep 18, 2014 2:23 pm
by Mikari
It can be a long process but it's a good way to learn new tricks :D
Re: Making a Site "Radio"
Posted: Fri Sep 19, 2014 12:54 am
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.")
Re: Making a Site "Radio"
Posted: Sun Sep 21, 2014 10:09 am
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.