get_image_link(); $thumb_url = make_http($image->get_thumb_link()); //used as fallback image $mime = strtolower($image->get_mime()); $full_url = make_http($ilink); $autoplay = $config->get_bool(VideoFileHandlerConfig::PLAYBACK_AUTOPLAY); $loop = $config->get_bool(VideoFileHandlerConfig::PLAYBACK_LOOP); $mute = $config->get_bool(VideoFileHandlerConfig::PLAYBACK_MUTE); $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 if (MimeType::matches_array($mime, VideoFileHandler::SUPPORTED_MIME)) { //FLV isn't supported by