Removed execute property
[embedvideo/.git] / module.inc
index 20cbd5acd8239bf684db38acd5af8b04fd6b7435..8b051abf6e722a62851ebbc913ba195a8cc4547b 100644 (file)
@@ -33,7 +33,7 @@ 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.3');
+       $this->setVersion('1.0.6');
        $this->setGroup('import', $gallery->i18n('Import'));
        $this->setCallbacks('getSiteAdminViews');
        $this->setRequiredCoreApi(array(7, 4));
@@ -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;
             }