fixes ratios
This commit is contained in:
parent
f21d70150c
commit
72b32d0401
|
@ -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()
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;',
|
||||||
|
|
Loading…
Reference in New Issue