get_image_link();
        $thumb_url = make_http($image->get_thumb_link()); //used as fallback image
        $mime = strtolower($image->get_mime());
        $autoplay = $config->get_bool(VideoFileHandlerConfig::PLAYBACK_AUTOPLAY);
        $loop = $config->get_bool(VideoFileHandlerConfig::PLAYBACK_LOOP);
        $mute = $config->get_bool(VideoFileHandlerConfig::PLAYBACK_MUTE);
        $width="auto";
        if ($image->width>1) {
            $width = $image->width."px";
        }
        $height="auto";
        if ($image->height>1) {
            $height = $image->height."px";
        }
        $html = "Video not playing? Click here to download the file.
";
        //Browser media format support: https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats
        if (MimeType::matches_array($mime, VideoFileHandler::SUPPORTED_MIME)) {
            if ($mime == MimeType::WEBM) {
                //Several browsers still lack WebM support sadly: https://caniuse.com/#feat=webm
                $html .= "";
            }
            $autoplay = ($autoplay ? ' autoplay' : '');
            $loop     = ($loop ? ' loop' : '');
            $mute     = ($mute ? ' muted' : '');
            $html .= "
				
				
			";
        } else {
            //This should never happen, but just in case let's have a fallback..
            $html = "Video type '$mime' not recognised";
        }
        $page->add_block(new Block("Video", $html, "main", 10));
    }
}