iphone dev mp3 file not playing using av audio player
<p>i am trying to play an mp3 audio file, the file will be uploaded by user on web server and i will get the url of that file and then i have to play that file but i am not succeeding in it. here is my code</p>

<p>NSURL *url = [NSURL URLWithString:url1];
        NSData *theData = [NSData dataWithContentsOfURL:url];
        newPlayer = [[AVAudioPlayer alloc] initWithData:theData error:nil];
        [newPlayer play];</p>

<p>the url is like this</p>

<p><a href="http://mqm.designers99.com/Notification/mp3_files/1331551313_1919.mp3" rel="nofollow">http://mqm.designers99.com/Notification/mp3_files/1331551313_1919.mp3</a></p>

<p>Plz. guide me coz i am stuck here, thanx and regards</p>
