 
     public func playerItemFailedToPlayToEndTime(aNotification: NSNotification) {
         self.playbackState = .Failed
-        self.delegate?.playerPlaybackStateDidChange(self)
+//        self.delegate?.playerPlaybackStateDidChange(self)
     }
 
     public func applicationWillResignActive(aNotification: NSNotification) {

            if let item = self.playerItem {
                if item.playbackBufferEmpty {
                    self.bufferingState = .Delayed
                    self.delegate?.playerBufferingStateDidChange(self)
                }
            }



        self.player.pause()
        self.playbackState = .Paused
//        self.delegate?.playerPlaybackStateDidChange(self)
    }

    public func stop() {
