     private func handleStatusChange() -> PKEvent? {
         var event: PKEvent? = nil
         
-        if currentItem?.status == .readyToPlay {           
+        if currentItem?.status == .readyToPlay {
             let newState = PlayerState.ready
             self.postEvent(event: PlayerEvents.loadedMetadata())
             

    private func startOrResumeNonObservablePropertiesUpdateTimer() {
        PKLog.trace("setupNonObservablePropertiesUpdateTimer")
        
        if self.nonObservablePropertiesUpdateTimer == nil {
            self.nonObservablePropertiesUpdateTimer = Timer.scheduledTimer(timeInterval: 0.1, target: self, selector: #selector(self.updateNonObservableProperties), userInfo: nil, repeats: true)
        }
    }
    
    /**

    func destroy() {
        PKLog.trace("destory player")
        self.nonObservablePropertiesUpdateTimer?.invalidate()
        self.nonObservablePropertiesUpdateTimer == nil
        self.removeObservers()
        self.avPlayerLayer = nil
        self._view = nil
        self.onEventBlock = nil
    }
    
    @available(iOS 9.0, *)
