                 return
             }
             let newTime = CMTimeMakeWithSeconds(newValue, timescale)
-            player!.seekToTime(newTime,toleranceBefore: CMTime.zero,toleranceAfter: CMTime.zero)
+            player!.seek(to: newTime,toleranceBefore: CMTime.zero,toleranceAfter: CMTime.zero)
         }
     }
     public var interval = CMTimeMake(1, 60) {

        removeCurrentTimeObserver()
        
        lastPlayerTimeObserve = player
        self.timeObserverToken = player?.addPeriodicTimeObserverForInterval(interval, queue: dispatch_get_main_queue()) { [weak self] time-> Void in
            if let mySelf = self {
                self?.delegate?.playerVideo(mySelf, currentTime: mySelf.currentTime)
            }
        }
    }
    
    func playerItemDidPlayToEndTime(aNotification: NSNotification) {

        }
    }
    
    public var urls: [URL]? {
        willSet(newUrls) {
            
            
            print("willSet urls")
            resetPlayer()
            guard let urls = newUrls else {
                return
