X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=module.inc;h=c578a8783bcfed9eb133c5bddc1e586e10c48988;hb=3feb31a7ea3788264c4fe4dbd30e531a4c5960fd;hp=8a9f40d9593a03b162b9c1d3ff3a34a30334245c;hpb=4e21341b591b305662a15ef7cce055e5f9dcb135;p=embedvideo%2F.git diff --git a/module.inc b/module.inc index 8a9f40d..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.1'); + $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'); + 'height=240'. + '|width=320'. + '|useInternalFlvPlayer=true'. + '|useRemoteSize=false'. + '|youtubeShowRelated=false'. + '|watermarkVideos=true' + ); if ($ret) { return $ret; }