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

        }

        self.bufferingState = .Unknown
//        self.delegate?.playerBufferingStateDidChange(self)

        self.asset = asset
        if let _ = self.asset {


    public func playerItemFailedToPlayToEndTime(aNotification: NSNotification) {
        self.playbackState = .Failed
    }

    public func applicationWillResignActive(aNotification: NSNotification) {
