     }
 
     public required init?(coder aDecoder: NSCoder) {
-        self._avplayer.actionAtItemEnd = .pause
         super.init(coder: aDecoder)
     }
 
     public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
-        self._avplayer.actionAtItemEnd = .pause
         super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
     }
 


}

// MARK: - action funcs

extension Player {


        if let playerItem = self._playerItem {
            return playerItem.seek(to: time, completionHandler: completionHandler)
        } else {
            self._seekTimeRequested = time
        }
    }

