isValid() && $response->getUrl()->match([ 'play.cadenaser.com/audio/*', ]); } /** * {@inheritdoc} */ public function getCode() { $url = $this->getResponse()->getUrl(); return Utils::iframe($url->withPath('/widget/'.$url->getPath()), $this->width, $this->height); } /** * {@inheritdoc} */ public function getWidth() { return 620; } /** * {@inheritdoc} */ public function getHeight() { return 100; } }