1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Add ability to embed a video in Twitter

The instance should be whitelisted first
This commit is contained in:
Chocobozzz 2018-05-10 12:26:47 +02:00
parent c7b0dacb28
commit 8be1afa12b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
14 changed files with 355 additions and 213 deletions

View file

@ -161,6 +161,12 @@ function customConfig (): CustomConfig {
javascript: CONFIG.INSTANCE.CUSTOMIZATIONS.JAVASCRIPT
}
},
services: {
twitter: {
username: CONFIG.SERVICES.TWITTER.USERNAME,
whitelisted: CONFIG.SERVICES.TWITTER.WHITELISTED
}
},
cache: {
previews: {
size: CONFIG.CACHE.PREVIEWS.SIZE