From: Alan Jack Pippin Date: Sat, 13 Oct 2007 02:16:17 +0000 (-0600) Subject: Added some new images. Fixed google video description matching. X-Git-Tag: 1_1_1~18 X-Git-Url: http://git.pippins.net/embedvideo/images/static/x.gif?a=commitdiff_plain;h=c715f7d9dc80bca025984c9150c02ccc4bbdce80;p=embedvideo%2F.git Added some new images. Fixed google video description matching. --- diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc index 940a4ea..3a1fa79 100644 --- a/ItemAddEmbedVideo.inc +++ b/ItemAddEmbedVideo.inc @@ -257,7 +257,8 @@ class ItemAddEmbedVideo extends ItemAddPlugin { } /* Extract the summary from the webpage contents */ - preg_match('//i', + //print "contents: $contents
"; + preg_match('//i', $contents, $matches); $summary=$matches[1]; diff --git a/images/G2video.jpg b/images/G2video.jpg deleted file mode 100644 index 4cd04d5..0000000 Binary files a/images/G2video.jpg and /dev/null differ diff --git a/images/G2video_thumbnail.jpg b/images/G2video_thumbnail.jpg new file mode 100644 index 0000000..4cd04d5 Binary files /dev/null and b/images/G2video_thumbnail.jpg differ diff --git a/images/G2video_watermark.gif b/images/G2video_watermark.gif new file mode 100755 index 0000000..8ec7a76 Binary files /dev/null and b/images/G2video_watermark.gif differ diff --git a/module.inc b/module.inc index 0f6e5d2..0cc2e4b 100644 --- a/module.inc +++ b/module.inc @@ -33,7 +33,7 @@ class EmbedVideoModule extends GalleryModule { $this->setId('embedvideo'); $this->setName($gallery->i18n('Embed Video')); $this->setDescription($gallery->i18n('Add embedded videos from the web')); - $this->setVersion('1.0.4'); + $this->setVersion('1.0.5'); $this->setGroup('import', $gallery->i18n('Import')); $this->setCallbacks('getSiteAdminViews'); $this->setRequiredCoreApi(array(7, 4));