diff --git a/Disabling-modules.md b/Disabling-modules.md new file mode 100644 index 0000000..a4f6d25 --- /dev/null +++ b/Disabling-modules.md @@ -0,0 +1,31 @@ +Omeka comes with many modules as part of the core. However, some of them are replaced by modules we have developed. + +## youtube + +The youtube module is replaced by our (https://git.hangar.org/arcHIVE-tech/oEmbed-omeka-module)[oEmbed-omeka-module] + +Do disable the youtube module edit `/application/config/module.config.php` and comment out these two lines as so: + +``` + 'media_ingesters' => [ + 'factories' => [ + 'upload' => Service\Media\Ingester\UploadFactory::class, + 'url' => Service\Media\Ingester\UrlFactory::class, + 'html' => Service\Media\Ingester\HtmlFactory::class, + 'iiif' => Service\Media\Ingester\IIIFFactory::class, + 'oembed' => Service\Media\Ingester\OEmbedFactory::class, + //'youtube' => Service\Media\Ingester\YoutubeFactory::class, + ], + ], + 'media_renderers' => [ + 'invokables' => [ + 'oembed' => Media\Renderer\OEmbed::class, + //'youtube' => Media\Renderer\Youtube::class, + 'html' => Media\Renderer\Html::class, + 'iiif' => Media\Renderer\IIIF::class, + ], + 'factories' => [ + 'file' => Service\Media\Renderer\FileFactory::class, + ], + ], +``` \ No newline at end of file