Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I using an audio player plugin to play mp3 and ogg files. But I'd want the editor to input only a mp3 file and it should automatically be converted into ogg file and send both files to the front-end. Is there any WP function to convert mp3 files into ogg? I've seen some plugins that do that, but they have their own player. I just want the above functionality.

share|improve this question
    
Please note that "wanting functionality" rarely makes good question in context of Stack Exchange. What have you tried? What did and didn't work for you? This is rather involved task, described in rather few words to expect people go and implement it from scratch for you. –  Rarst Dec 21 '13 at 19:23
    
@Rarst - I've seen that I can use ffmpeg to convert files, but I need to install this php extension. I wonder how do some plugins achieve this behavior without installing any PHP extension. –  Manolo Dec 21 '13 at 19:36

1 Answer 1

this is not the answer you are looking for, but why not just allow users to upload or input both mp3 and ogg files, and have the player play both mp3 and ogg files?

share|improve this answer
    
This is what I have at this moment. –  Manolo Dec 21 '13 at 19:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.