title: 'seek(to:)' was deprecated in iOS 11.0:
body: <p>Getting this warning: </p>
  
  <p>'seek(to:)' was deprecated in iOS 11.0: Use -seekToTime:completionHandler:, passing nil for the completionHandler if you don't require notification of completion</p>
  
  <p>written in this particular line of block of code:</p>
  
  <pre><code>    @objc func playerItemDidReachEnd(notification: Notification) {
          let p: AVPlayerItem = notification.object as! AVPlayerItem
          p.seek(to: .zero)
      }
  </code></pre>
  
  <p>Any help with this will be much appreciated </p>