hello, stackoverflowers. my client has an opencart e-commerce site. i am tasked with responsibility of creating an audio preview.
it allows users to listen to a small portion of a mp3 file, like 2-3 minutes, before paying and downloading the whole file. kinda like itune thingy.
i am thinking when a file is uploaded, i extract the first 2-3 minutes of it and save it somewhere somehow.
is there a better way? any library that can help me do this? thank you.