PeertubeVideo/config/module.config.php

41 lines
1.1 KiB
PHP

<?php
namespace PeertubeVideo;
return [
'view_manager' => [
'template_path_stack' => [
dirname(__DIR__) . '/view',
]
],
'block_layouts' => [
'factories' => [
'peertubeVideo' => Service\BlockLayout\PeertubeVideoFactory::class,
],
],
'form_elements' => [
'invokables' => [
Form\PeertubeVideoBlockForm::class => Form\PeertubeVideoBlockForm::class,
],
],
'media_ingesters' => [
'factories' => [
'PeertubeVideo_media' => Service\Media\Ingester\PeertubeMediaFactory::class,
],
],
'media_renderers' => [
'invokables' => [
'PeertubeVideo_media' => Media\Renderer\PeertubeMediaRenderer::class,
],
],
'DefaultSettings' => [
'PeertubeVideoBlockForm' => [
'url' => '',
'title' => '',
'width' => 800,
'ratio' => '16:9',
'vertical' => false,
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
]
]
];