         
     }
     
-    private func commonPrepareMedia(withUrl url: URL, replaceCurrent: Bool = false) {
+    private func commonPrepareMedia(withUrl url: URL) {
         
         let keyPaths = [
             AwesomeMediaPlayerItemKeyPaths.playbackLikelyToKeepUp.rawValue,

}

var delayedPlay: (() -> Void)?
var mediaPlayerState: (url: URL, replaceCurrent: Bool, seekToTime: Double)?
var resetOnce = false

// MARK: - Events

extension AwesomeMedia {
    
    public func prepareMedia(withUrl url: URL?, replaceCurrent: Bool = false, seekingTo: Double = -1) {
        
        guard let url = url else {
            return

        }
        let currentTime = currentItem.currentTime().seconds
        if let mediaState = mediaPlayerState, playerIsPlaying {
            mediaPlayerState = (mediaState.url, currentTime)
        }
        return currentTime
    }
