Fixed vimeo thumbnail processing code
[embedvideo/.git] / ItemAddEmbedVideo.inc
index 820fe6f5f2d0e0ac393698803ee5ac0388c5b92e..22986988fd3957466a24a292f67d18a4ddd98951 100644 (file)
@@ -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];