original_string: public function getIframeURL()
      {
          $info = $this->parseLink();
          if (!$info) {
              return false;
          }
  
          $params = $this->Config()->get('service');
  
          if ($this->Service == 'Vimeo') {
              $url = 'https://player.vimeo.com/video/' . $this->VideoID;
              if ($params && !empty($params[strtolower($this->Service)])) {
                  $url .= '?' . http_build_query($params[strtolower($this->Service)], '', '&');
              }
              return $url;
          }
          if ($this->Service == 'YouTube') {
              $url = 'https://www.youtube.com/embed/' . $this->VideoID;
              if ($params && !empty($params[strtolower($this->Service)])) {
                  $url .= '?' . http_build_query($params[strtolower($this->Service)], '', '&');
              }
              return $url;
          }
      }
code: public function getIframeURL()
      {
          $info = $this->parseLink();
          if (!$info) {
              return false;
          }
  
          $params = $this->Config()->get('service');
  
          if ($this->Service == 'Vimeo') {
              $url = 'https://player.vimeo.com/video/' . $this->VideoID;
              if ($params && !empty($params[strtolower($this->Service)])) {
                  $url .= '?' . http_build_query($params[strtolower($this->Service)], '', '&');
              }
              return $url;
          }
          if ($this->Service == 'YouTube') {
              $url = 'https://www.youtube.com/embed/' . $this->VideoID;
              if ($params && !empty($params[strtolower($this->Service)])) {
                  $url .= '?' . http_build_query($params[strtolower($this->Service)], '', '&');
              }
              return $url;
          }
      }
code_tokens: public function getIframeURL ( ) { $ info = $ this -> parseLink ( ) ; if ( ! $ info ) { return false ; } $ params = $ this -> Config ( ) -> get ( 'service' ) ; if ( $ this -> Service == 'Vimeo' ) { $ url = 'https://player.vimeo.com/video/' . $ this -> VideoID ; if ( $ params && ! empty ( $ params [ strtolower ( $ this -> Service ) ] ) ) { $ url .= '?' . http_build_query ( $ params [ strtolower ( $ this -> Service ) ] , '' , '&' ) ; } return $ url ; } if ( $ this -> Service == 'YouTube' ) { $ url = 'https://www.youtube.com/embed/' . $ this -> VideoID ; if ( $ params && ! empty ( $ params [ strtolower ( $ this -> Service ) ] ) ) { $ url .= '?' . http_build_query ( $ params [ strtolower ( $ this -> Service ) ] , '' , '&' ) ; } return $ url ; } }
docstring: Return the iframe URL
  
  @param  Null
  @return String
docstring_tokens: Return the iframe URL