     
     internal func playerItemDidPlayToEndTime(_ aNotification: Notification) {
         if self.playbackLoops == true {
-            self.delegate?.playerWillComeThroughLoop?(self)
+            self.delegate?.playerPlaybackWillLoop?(self)
             self._avplayer.seek(to: kCMTimeZero)
         } else {
             if self.playbackFreezesAtEnd == true {

    @objc optional func playerCurrentTimeDidChange(_ player: Player)
    @objc optional func playerPlaybackWillStartFromBeginning(_ player: Player)
    @objc optional func playerPlaybackDidEnd(_ player: Player)
    @objc optional func playerWillComeThroughLoop(_ player: Player)
}

// MARK: - Player


// MARK: - PlayerDelegate

/// Player delegate protocol
@objc public protocol PlayerDelegate: NSObjectProtocol {
    @objc optional func playerReady(_ player: Player)
    @objc optional func playerPlaybackStateDidChange(_ player: Player)
