     @objc optional func playerCurrentTimeDidChange(_ player: Player)
     @objc optional func playerPlaybackWillStartFromBeginning(_ player: Player)
     @objc optional func playerPlaybackDidEnd(_ player: Player)
-    @objc optional func playerWillComeThroughLoop(_ player: Player)
+    @objc optional func playerPlaybackWillLoop(_ player: Player)
 }
 
 // MARK: - Player

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


// MARK: - PlayerDelegate

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