X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=module.inc;h=4f91f89becc96e32d1a7d2ccce3a656ad7fad8c7;hb=refs%2Ftags%2F1_1_5;hp=eb03f50eec423bca540cc9288ecc2e0a59a5ca03;hpb=b1952ee04d2ae62ede96d5c61ab096cd237c1c3b;p=embedvideo%2F.git diff --git a/module.inc b/module.inc index eb03f50..4f91f89 100644 --- a/module.inc +++ b/module.inc @@ -33,10 +33,10 @@ 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.1'); + $this->setVersion('1.1.5'); $this->setGroup('import', $gallery->i18n('Import')); $this->setCallbacks('getSiteAdminViews'); - $this->setRequiredCoreApi(array(7, 4)); + $this->setRequiredCoreApi(array(7, 3)); $this->setRequiredModuleApi(array(3, 0)); } @@ -77,7 +77,13 @@ 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'. + '|watermarkVideos=true' + ); if ($ret) { return $ret; }