X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=module.inc;h=d8fd9d22272441ad5d129dcd4d2fc602b36260b4;hb=6873be3aaa2b28177e7d880086479211b9ea4120;hp=0cc2e4b1bbb29ad5b9c0dd4faca613f01dad9228;hpb=c715f7d9dc80bca025984c9150c02ccc4bbdce80;p=embedvideo%2F.git diff --git a/module.inc b/module.inc index 0cc2e4b..d8fd9d2 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.5'); + $this->setVersion('1.1.2'); $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|youtubeShowRelated=false'); + 'height=240'. + '|width=320'. + '|useInternalFlvPlayer=true'. + '|useRemoteSize=false'. + '|youtubeShowRelated=false'. + '|watermarkVideos=true' + ); if ($ret) { return $ret; }