PeertubeVideo/config/module.config.php

41 lines
1.1 KiB
PHP
Raw Normal View History

2021-04-09 11:31:13 +02:00
<?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,
],
],
2021-04-09 17:07:09 +02:00
'media_ingesters' => [
'factories' => [
'PeertubeVideo_media' => Service\Media\Ingester\PeertubeMediaFactory::class,
],
],
'media_renderers' => [
'invokables' => [
'PeertubeVideo_media' => Media\Renderer\PeertubeMediaRenderer::class,
],
],
2021-04-09 11:31:13 +02:00
'DefaultSettings' => [
'PeertubeVideoBlockForm' => [
'url' => '',
'title' => '',
2021-04-09 11:52:38 +02:00
'width' => 800,
2021-04-09 11:31:13 +02:00
'ratio' => '16:9',
'vertical' => false,
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
]
]
];