oghlam / mobile-web-development-with-phonegap

Automatically exported from code.google.com/p/mobile-web-development-with-phonegap
0 stars 0 forks source link

Audio is not working #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have done all steps for this "TMT1 P1 Use PhoneGap Media API & jQuery Mobile 
UI Framework"
Only at the end when i try to play audio by pressing play button. Its now 
working.I tried with the local file and also with live http link. but it 
doesn't work. 
When I click play button Current: Loading ... 
and then same time show 
Current : 0  Total 18 sec
and nothing playing .... 

Any help

Original issue reported on code.google.com by NASIRMAH...@gmail.com on 7 Jun 2012 at 8:26

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by paul.beu...@gmail.com on 7 Jun 2012 at 3:52

GoogleCodeExporter commented 8 years ago
Since your AVD knows the song is 18 seconds long, it is finding and loading the 
song.

Please check the volume on your computer speakers.
Are there any errors reported in logcat?
Please confirm you've complete Step 2 of the tutorial.

I was not able to reproduce on Android 2.2 AVD, Motorola Droid, and using both 
PhoneGap 1.4.1 and 1.6.1. What version of PhoneGap, and what config for AVD are 
you using?

Original comment by libby.ba...@gmail.com on 7 Jun 2012 at 5:20

GoogleCodeExporter commented 8 years ago
Hey. I have also encountered the same problem. No sound is produced from the 
simulator when I pressed play button but the time in seconds is increasing. I 
have followed the steps in the tutorial. I tested on both android 4.0 
Gingerbread and android 3.2. How can I solve this problem?

Original comment by geck...@gmail.com on 16 Aug 2012 at 5:39

GoogleCodeExporter commented 8 years ago
Sorry. with regards to my prev comment, I am using cordova-2.0.0. 
5554:Gingerbread AVD. No errors reported on logcat and max speaker volume

Original comment by geck...@gmail.com on 16 Aug 2012 at 5:49

GoogleCodeExporter commented 8 years ago
I was able to play music with the following:

AVD - 4.0.3 w/100MB SD Card, can't remember if I created it w/audio playback 
support
Cordova 1.9.0
The default src:
var src = 'http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3';
And of course changes to index.html as discussed in tutorial.

Original comment by libby.ba...@gmail.com on 18 Aug 2012 at 8:34

GoogleCodeExporter commented 8 years ago
I also have the same problem the song is not playing at all, i am playing it on 
mobile device.

Original comment by sandeepl...@gmail.com on 19 Feb 2015 at 7:29

Attachments: