Fix Video::getThumbnailURL regex meow

Fixes #841
This commit is contained in:
celestora 2023-01-28 23:09:05 +02:00
parent 934bc9b25c
commit 4845f8f318

View file

@ -104,7 +104,7 @@ class Video extends Media
if(!$this->isProcessed())
return "/assets/packages/static/openvk/video/rendering.apng";
return preg_replace("%\.[A-z]++$%", ".gif", $this->getURL());
return preg_replace("%\.[A-z0-9]++$%", ".gif", $this->getURL());
} else {
return $this->getVideoDriver()->getThumbnailURL();
}