Fixed google description extraction
[embedvideo/.git] / module.inc
index 20cbd5acd8239bf684db38acd5af8b04fd6b7435..0f6e5d2d0c58d078df974cfbd961fa0098baebe7 100644 (file)
@@ -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.3');
+       $this->setVersion('1.0.4');
        $this->setGroup('import', $gallery->i18n('Import'));
        $this->setCallbacks('getSiteAdminViews');
        $this->setRequiredCoreApi(array(7, 4));
@@ -77,7 +77,7 @@ class EmbedVideoModule extends GalleryModule {
 
         if (!isset($params['embedvideodefaultVariables'])) {
             $ret = $this->setParameter('embedvideodefaultVariables',
-                  'height=240|width=320|useInternalFlvPlayer=true|useRemoteSize=false');
+                  'height=240|width=320|useInternalFlvPlayer=true|useRemoteSize=false|youtubeShowRelated=false');
             if ($ret) {
                 return $ret;
             }