original_string: public function withAutoplay(bool $autoPlay): self
      {
          if ($this->autoPlay == $autoPlay) {
              return $this;
          }
  
          $url = clone $this;
          $url->autoPlay = $autoPlay;
  
          return $url;
      }
code: public function withAutoplay(bool $autoPlay): self
      {
          if ($this->autoPlay == $autoPlay) {
              return $this;
          }
  
          $url = clone $this;
          $url->autoPlay = $autoPlay;
  
          return $url;
      }
code_tokens: public function withAutoplay ( bool $ autoPlay ) : self { if ( $ this -> autoPlay == $ autoPlay ) { return $ this ; } $ url = clone $ this ; $ url -> autoPlay = $ autoPlay ; return $ url ; }
docstring: Override the player's autoplay setting for this URL.
  
  @see https://docs.theplatform.com/help/player-player-autoplay
  
  @param bool $autoPlay True to enable autoPlay, false otherwise.
  
  @return Url
docstring_tokens: Override the player s autoplay setting for this URL .