Phonegap uploaded audio file not being played in browser
pI am uploading a recorded mp3 file using phonegap and php/p pRecording -
Using Media object (media.startRecord/ media.stopRecord) - Successful/p
pUploading - ft.upload(fileURI, encodeURI(a
href=http://some.server.com/upload.php
rel=nofollowhttp://some.server.com/upload.php/a), win, fail, options); In
options, I am using options.mimeType = audio/mpeg;/p p-This is also
successful/p pPlaying - But when I try to play it in browser as a
href=http://some.server.com/media_uploaded.mp3
rel=nofollowhttp://some.server.com/media_uploaded.mp3/a - It tries to play
but fails after sometime. I tried playing the same file with a
href=http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all
rel=nofollowhttp://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all/a
as well, but couldn't succeed./p pWhen I download the same file - it gets
played without any error in any media player in my computer./p pWhen I
upload any mp3 song at same place - it gets played successfully with - a
href=http://some.server.com/song_uploaded.mp3
rel=nofollowhttp://some.server.com/song_uploaded.mp3/a/p pWhat can be
possible problem(s) with my recorded audio?/p
No comments:
Post a Comment