public function getEmbed()
    {
        if ($this->link) {
            switch ($this->type) {
                case 'argus360':
                    return '<iframe src="//car360app.com/viewer/portable.php?spin='
                           .
                           $this->getHash($this->link).
                           '&res=1920x1080&maximages=-1&frameSize=1920x1080"></iframe>';
                    break;
                case 'dailymotion':
                    return '<iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/'
                           .
                           $this->getHash($this->link).
                           '?autoplay=0&mute=1" allowfullscreen></iframe>';
                    break;
                case 'giphy':
                    return '<iframe src="//giphy.com/embed/'.
                           $this->getHash($this->link).
                           '" width="480" height="270" frameBorder="0" class="giphy-embed" allowFullScreen></iframe>';
                    break;
                case 'gist':
                    return '<script src="//gist.github.com/'.
                           $this->getHash($this->link).
                           '.js"></script>';
                    break;
                case 'tweet':
                    $json = file_get_contents(
                        'https://publish.twitter.com/oembed?url=https:'
                        .urlencode($this->link)
                    );

                    return json_decode($json, true)['html'];
                    break;
                case 'vimeo':
                    return '<iframe src="//player.vimeo.com/video/'.
                           $this->getHash($this->link).
                           '?color=ffffff" width="640" height="267" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
                    break;
                case 'youtube':
                    return '<iframe allowfullscreen width="420" height="315" src="//www.youtube.com/embed/'
                           .
                           $this->getHash($this->link).
                           '"></iframe>';
                    break;
                default:
                    return null;
            }
        }

        return null;
    }