get_image_link();
        $thumb_url = make_http($image->get_thumb_link()); //used as fallback image
        $ext = strtolower($image->get_ext());
        $full_url = make_http($ilink);
        $autoplay = $config->get_bool("video_playback_autoplay");
        $loop = $config->get_bool("video_playback_loop");
        $player = make_link('vendor/bower-asset/mediaelement/build/flashmediaelement.swf');
        $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
        $supportedExts = ['mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'flv' => 'video/flv'];
        if (array_key_exists($ext, $supportedExts)) {
            //FLV isn't supported by