public function embedlyToHtml()
    {
        if (filter_var($this->data['url'], FILTER_VALIDATE_URL)) {
            return $this->view('embedly.'.$this->type, [
                'url' => $this->data['url'],
                'options' => $this->config['embedly'] ?? '',
            ]);
        }

        return '';
    }