X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=module.inc;h=c578a8783bcfed9eb133c5bddc1e586e10c48988;hb=7c618b7e264649fccef99e8f3d7550ba5241c73d;hp=9ca5ffb972139c867ad32cf1135ba9555d27fcd5;hpb=2266d371cd774ad41e57be7520b3121486437615;p=embedvideo%2F.git diff --git a/module.inc b/module.inc index 9ca5ffb..c578a87 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.2'); + $this->setVersion('1.0.8'); $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; }