$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.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));
}
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;
}