X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=ItemAddEmbedVideo.inc;h=22986988fd3957466a24a292f67d18a4ddd98951;hb=d9b0ef7fec32d06faec82150e4c4e7c9f879334c;hp=820fe6f5f2d0e0ac393698803ee5ac0388c5b92e;hpb=66480d152434ae78c77e1da6ea7af66762b2f440;p=embedvideo%2F.git 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];