From 72b32d0401881cd122293b9a135e6f30730b6f27 Mon Sep 17 00:00:00 2001 From: buttle Date: Fri, 9 Apr 2021 11:52:38 +0200 Subject: [PATCH] fixes ratios --- Module.php | 4 ++-- README.md | 2 +- config/module.config.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Module.php b/Module.php index d41bb9f..47c4c68 100644 --- a/Module.php +++ b/Module.php @@ -10,9 +10,9 @@ class Module extends AbstractModule const NAMESPACE = __NAMESPACE__; const RATIOS = [ - '2' => '2:1', + '1.777' => '16:9', '1.333' => '4:3', - '1.777' => '16:9' + '2' => '2:1', ]; public function getConfig() diff --git a/README.md b/README.md index b1a48b3..beb620a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ cd ./modules https://git.hangar.org/arcHIVE-tech/PeertubeVideo/archive/main.zip unzip main.zip -mv 3d-renderer/ PeertubeVideo +mv peertubevideo/ PeertubeVideo ``` ## LISENCE diff --git a/config/module.config.php b/config/module.config.php index 275e6fe..3ed4155 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -21,7 +21,7 @@ return [ 'PeertubeVideoBlockForm' => [ 'url' => '', 'title' => '', - 'width' => 600, + 'width' => 800, 'ratio' => '16:9', 'vertical' => false, 'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',