 
         self.player.pause()
         self.playbackState = .Paused
-//        self.delegate?.playerPlaybackStateDidChange(self)
     }
 
     public func stop() {

                self.playerView.playerLayer.hidden = false
            case AVPlayerStatus.Failed.rawValue:
                self.playbackState = PlaybackState.Failed
//                self.delegate?.playerPlaybackStateDidChange(self)
            default:
                true
            }


    public func playFromCurrentTime() {
        self.playbackState = .Playing
        self.player.play()
    }

