How can one use an HTML form and PHP to play an audio file?
-
I'd like to create a simple audio player that doesn't use Flash or Javascript. I've reasoned that any audio player is simply a form with buttons; so in my case the buttons would be Play and Stop. I'm not bad at PHP but I can't find anything anywhere that relates to controlling an audio file. Does anyone have any suggestions?
-
Answer:
I don't think there is a way to make PHP play audio...the only thing I can think of to do is just directly link to the audio file and have it play when people click on it...the old fashioned way. This is not ideal though. Why don't you want to use Flash? Flash is pretty much standard on all browsers today (if someone doesn't have the Flash plugin, they're in the Internet Stone Age). Here's an amazing player I've used on various sites. It's easy to use and to maintain: http://musicplayer.sourceforge.net/
epicure at Yahoo! Answers Visit the source
Related Q & A:
- How can I split an HTML element?Best solution by Stack Overflow
- How can I parse a complex XML with PHP and CDATA?Best solution by Stack Overflow
- How can I add a HTML code to My Yahoo homepage?Best solution by Yahoo! Answers
- How can I use my Pc screen to play Xbox on it?Best solution by Yahoo! Answers
- How can I import an HTML template to Thunderbird?Best solution by superuser.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.