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

}

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

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