$source_stream = str_replace(".gifv", ".mp4", $entry->getAttribute("href"));
- if (strpos($source_stream, "i.imgur.com") !== FALSE)
+ if (strpos($source_stream, "imgur.com") !== FALSE)
$poster_url = str_replace(".mp4", "h.jpg", $source_stream);
$this->handle_as_video($doc, $entry, $source_stream, $poster_url, $debug);
$entry->parentNode->insertBefore($br, $entry);
} else if ($aentry->tagName == "source") {
- if (strpos($url, "i.imgur.com") !== FALSE)
+ if (strpos($url, "imgur.com") !== FALSE)
$poster_url = str_replace(".mp4", "h.jpg", $url);
else
$poster_url = "";