Hey guys! First time poster here.. Nice forum!
So yea, i've been wanting to do an audio preview in php but i'm not finding much! Could it be that this type of functionality is usually done using Flash? Does anyone here know of any libraries or Open Source made libraries?
Any info would be a great help!
Thanks guys
PHP Audio preview functionality
Moderator: General Moderators
Re: PHP Audio preview functionality
This wouldn't be done with php. PHP is parsed on the server....
Re: PHP Audio preview functionality
I think technically it's possible in PHP, but in no way worth the trouble.
This is usually done in Flash. There are quite a few players out there that you can easily use.
This is usually done in Flash. There are quite a few players out there that you can easily use.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: PHP Audio preview functionality
What??! How the <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> would you do this with PHP? 
xD
xD
Re: PHP Audio preview functionality
Thanks for the replies,
Yea, i know most of it is javascript or flash but was just wondering if there was already anything done in the backend using php.
I know this isn't a Flash forum, but if you guys know of any good flash players, please post!
Thanks again
Yea, i know most of it is javascript or flash but was just wondering if there was already anything done in the backend using php.
I know this isn't a Flash forum, but if you guys know of any good flash players, please post!
Thanks again
Re: PHP Audio preview functionality
I don't know off the top of my head, but it would involve reading the source audio file byte by byte, doing some conversion, then sending audio to the browser in a way it could understand - like mimicing an MP3 or something.jackpf wrote:What??! How the <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> would you do this with PHP?
By no means simple, but I think if someone really wanted to, it could be done.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: PHP Audio preview functionality
Hmm....I think I'd have to see it to believe it 