diff --git a/src/render/video.ts b/src/render/video.ts index 03d08d2..994a8ec 100644 --- a/src/render/video.ts +++ b/src/render/video.ts @@ -1,4 +1,5 @@ import { Constants } from '../constants'; +import { handleQuote } from '../helpers/quote'; import { Strings } from '../strings'; export const renderVideo = ( @@ -42,6 +43,10 @@ export const renderVideo = ( instructions.authorText = tweet.translation?.text || text || ''; + if (instructions.authorText.length < 40 && tweet.quote) { + instructions.authorText += `\n${handleQuote(tweet.quote)}`; + } + /* Push the raw video-related headers */ instructions.addHeaders = [ `<meta property="twitter:player:height" content="${video.height * sizeMultiplier}"/>`,