diff options
Diffstat (limited to 'server/controllers/client.ts')
-rw-r--r-- | server/controllers/client.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index b5dc7b7ed..20f7e5c9c 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -77,8 +77,8 @@ function addOpenGraphAndOEmbedTags (htmlStringPage: string, video: VideoModel) { | |||
77 | 'description': videoDescriptionEscaped, | 77 | 'description': videoDescriptionEscaped, |
78 | 'image': previewUrl, | 78 | 'image': previewUrl, |
79 | 79 | ||
80 | 'twitter:card': 'summary_large_image', | 80 | 'twitter:card': CONFIG.SERVICES.TWITTER.WHITELISTED ? 'player' : 'summary_large_image', |
81 | 'twitter:site': '@Chocobozzz', | 81 | 'twitter:site': CONFIG.SERVICES.TWITTER.USERNAME, |
82 | 'twitter:title': videoNameEscaped, | 82 | 'twitter:title': videoNameEscaped, |
83 | 'twitter:description': videoDescriptionEscaped, | 83 | 'twitter:description': videoDescriptionEscaped, |
84 | 'twitter:image': previewUrl, | 84 | 'twitter:image': previewUrl, |