             previousButton.hidden = true
             view.bringSubviewToFront(playerView)
         }
+        if let state = player?.currentState {
+            switch (state) {
+            case .Play:
+                playButton.setBackgroundImage(UIImage(named: "play"), forState: UIControlState.allZeros)
+            case .Pause:
+                playButton.setBackgroundImage(UIImage(named: "pause"), forState: UIControlState.allZeros)
+            }
+        }
         if let track = currentTrack {
             navigationItem.title = track.title
             if let avPlayer = player?.avPlayer {

        slider.addTarget(self, action: "stopSeek", forControlEvents: UIControlEvents.TouchUpInside)
        slider.addTarget(self, action: "cancelSeek", forControlEvents: UIControlEvents.TouchUpOutside)
        nextButton.setBackgroundImage(    UIImage(named: "next"),     forState: UIControlState.allZeros)
        previousButton.setBackgroundImage(UIImage(named: "previous"), forState: UIControlState.allZeros)
        nextButton.addTarget(    self, action: "next",     forControlEvents: UIControlEvents.TouchUpInside)
        previousButton.addTarget(self, action: "previous", forControlEvents: UIControlEvents.TouchUpInside)
        playerView.addTarget(    self, action: "fullScreenOrToggle",   forControlEvents: UIControlEvents.TouchUpInside)
        view.addSubview(playerView)

        totalLabel             = UILabel()
        slider                 = UISlider()
        nextButton             = UIButton()
        playButton             = UIButton()
        previousButton         = UIButton()
        playerView             = PlayerView()

