diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-10 12:26:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-11 08:48:20 +0200 |
commit | 8be1afa12b700b93ed92365cab05c0ef81d643aa (patch) | |
tree | 563369bded16d3612a631bb1a9b068b2bb76abe8 /config/production.yaml.example | |
parent | c7b0dacb28e3b5aa9f43a7a0eb683e2af9826cb9 (diff) | |
download | PeerTube-8be1afa12b700b93ed92365cab05c0ef81d643aa.tar.gz PeerTube-8be1afa12b700b93ed92365cab05c0ef81d643aa.tar.zst PeerTube-8be1afa12b700b93ed92365cab05c0ef81d643aa.zip |
Add ability to embed a video in Twitter
The instance should be whitelisted first
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index 1d7d35c9c..a6f1740fe 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -106,3 +106,12 @@ instance: | |||
106 | customizations: | 106 | customizations: |
107 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime | 107 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime |
108 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime | 108 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime |
109 | |||
110 | services: | ||
111 | # Cards configuration to format video in Twitter | ||
112 | twitter: | ||
113 | username: '@Chocobozzz' # The Twitter @username the card should be attributed to | ||
114 | # If true, a video player will be embedded in the Twitter feed on PeerTube video share | ||
115 | # If false, we use an image link card that will redirect on your PeerTube instance | ||
116 | # Test on https://cards-dev.twitter.com/validator to see if you are whitelisted | ||
117 | whitelisted: false \ No newline at end of file | ||