phonegap

 

Sounds

Page history last edited by ANDYED@... 6 mos ago

I like Phonegap a lot! Just wondering, how can I insert an audioplayer with Phonegap in my iPhone app? Or any audio at all?

 

HowTo

  • Place your beep.wav in the Resources folder
  • Execute new Media('beep.wav').play();
    • See notification source in demo code

 

Supported Devices

  • iphone
    • Formats: .wav, .aiff
    • Note that while .mp3 works in the Simulator, it does not work on the actual device.

?

 

References

 

Feature Requests / Plans

Comments (1)

profile picture

Joshua said

at 5:54 pm on Mar 5, 2009

I know that you can play short audio sounds, but I'm stumped about adding longer audio in here without it going through QuickTime. Is this possible?

You don't have permission to comment on this page.