title: Parse Audio with Slider
body: <p>How do you add an audio file from parse to an <code>AVAudioPlayer</code> and not an <code>AVPlayer</code>? I want to be able to pause, play, stop, replay, and use a slider to control audio playback. I tried this:</p>
  
  <p>My attempt:</p>
  
  <pre><code>var query = PFQuery(className:"Song1")
  query.getObjectInBackgroundWithId("YSuNRfKq3n") {
      (object : PFObject?, error : NSError?) -&gt; Void in
          if let AudioFileURLTemp = object?.objectForKey("SongFile")?.url {
              AudioPlayer = AVPlayer(URL: NSURL(string: AudioFileURLTemp!))
              AudioPlayer.play()
          }
      )
  }
  </code></pre>