From: Alan Pippin Date: Sun, 3 Oct 2010 03:27:38 +0000 (-0600) Subject: Fixed vimeo thumbnail processing code X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images/%7Blink_activity%7D?a=commitdiff_plain;h=d9b0ef7fec32d06faec82150e4c4e7c9f879334c;p=embedvideo%2F.git Fixed vimeo thumbnail processing code --- diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc index 820fe6f..2298698 100644 --- a/ItemAddEmbedVideo.inc +++ b/ItemAddEmbedVideo.inc @@ -804,7 +804,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin { $title=$matches[1]; /* Extract the thumbnail URL from the webpage contents */ - preg_match('/"videothumbnail" href="(.+?)"/i', + preg_match('/"og:image" content="(.+?)"/i', $contents, $matches); $thumbnail=$matches[1];