2 Disabling modules
chris edited this page 2021-09-02 14:04:40 +02:00

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 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,
        ],
    ],