31 lines
786 B
PHP
31 lines
786 B
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,
|
|
],
|
|
],
|
|
'DefaultSettings' => [
|
|
'PeertubeVideoBlockForm' => [
|
|
'url' => '',
|
|
'title' => '',
|
|
'width' => 800,
|
|
'ratio' => '16:9',
|
|
'vertical' => false,
|
|
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
|
|
]
|
|
]
|
|
];
|