fixes ratios

This commit is contained in:
buttle 2021-04-09 11:52:38 +02:00
parent f21d70150c
commit 72b32d0401
3 changed files with 4 additions and 4 deletions

View File

@ -10,9 +10,9 @@ class Module extends AbstractModule
const NAMESPACE = __NAMESPACE__; const NAMESPACE = __NAMESPACE__;
const RATIOS = [ const RATIOS = [
'2' => '2:1', '1.777' => '16:9',
'1.333' => '4:3', '1.333' => '4:3',
'1.777' => '16:9' '2' => '2:1',
]; ];
public function getConfig() public function getConfig()

View File

@ -9,7 +9,7 @@
cd ./modules cd ./modules
https://git.hangar.org/arcHIVE-tech/PeertubeVideo/archive/main.zip https://git.hangar.org/arcHIVE-tech/PeertubeVideo/archive/main.zip
unzip main.zip unzip main.zip
mv 3d-renderer/ PeertubeVideo mv peertubevideo/ PeertubeVideo
``` ```
## LISENCE ## LISENCE

View File

@ -21,7 +21,7 @@ return [
'PeertubeVideoBlockForm' => [ 'PeertubeVideoBlockForm' => [
'url' => '', 'url' => '',
'title' => '', 'title' => '',
'width' => 600, 'width' => 800,
'ratio' => '16:9', 'ratio' => '16:9',
'vertical' => false, 'vertical' => false,
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;', 'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',