 
                 }
 
-            }
-
-        } else if context == &PlayerLayerObserverContext {
-            
-            self.executeClosureOnMainQueueIfNecessary {
-                self.playerDelegate?.playerReady(self)
             }
 
         } else if context == &PlayerObserverContext {


private var PlayerObserverContext = 0
private var PlayerItemObserverContext = 0
private var PlayerLayerObserverContext = 0

// KVO player keys


    // MARK: - AVPlayerLayerObservers

    internal func addPlayerLayerObservers() {
        self._playerLayerObserver = self._playerView.playerLayer.observe(\.readyForDisplay, options: [.new, .old]) { (object, change) in
            self.executeClosureOnMainQueueIfNecessary {
                self.playerDelegate?.playerReady(self)
            }
        }
    }
    
    internal func removePlayerLayerObservers() {
        self._playerLayerObserver?.invalidate()
        self._playerLayerObserver = nil
    }

    // MARK: - AVPlayerObservers
