views:

380

answers:

1

Hi,

how do I play a remote .mp3 in an iPhone app with full control over the playback controls and visuals shown? I know MPMoviePlayerController can stream .mp3s but it takes over the whole screen.

If you could just point me in the direction of an appropriate guide or class reference that would be great.

A: 

You might want to use AVAudioPlayer and create your own controls.

I don't know if MPMediaPlayer can play a streamed mp3, but it can play local media in an "app" player instead of an "ipod" player (which takes over the screen). MPMediaPlayer is similar to AVAudioPlayer in that you can play with or without any UI, which you can create. Play, pause, stop, rewind, forward, etc.

mahboudz