From 4ceda92291685ee9d96ba5842ff8f38e77597fae Mon Sep 17 00:00:00 2001 From: bill bittner Date: Tue, 8 Aug 2017 11:32:19 -0700 Subject: [PATCH] changed twitter:player:width and height --- speech.js | 58 +++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/speech.js b/speech.js index 576d81c0..6b809beb 100644 --- a/speech.js +++ b/speech.js @@ -49,54 +49,54 @@ const hbs = expressHandlebars.create({ ); }, addOpenGraph (title, mimeType, showUrl, source) { - let basicTags = ` - - - `; + let basicTags = ` + + + `; if (mimeType === 'video/mp4') { return new Handlebars.SafeString( - `${basicTags} - - - - - - - ` + `${basicTags} + + + + + + + ` ); } else if (mimeType === 'image/gif') { return new Handlebars.SafeString( - `${basicTags} - - - - ` + `${basicTags} + + + + ` ); } else { return new Handlebars.SafeString( - `${basicTags} - - - - ` + `${basicTags} + + + + ` ); } }, addTwitterCard (mimeType, source, embedUrl, directFileUrl) { - let basicTwitterTags = ``; + let basicTwitterTags = ``; if (mimeType === 'video/mp4') { return new Handlebars.SafeString( - `${basicTwitterTags} + `${basicTwitterTags} - - - + + + + ` ); } else { return new Handlebars.SafeString( - `${basicTwitterTags} ` + `${basicTwitterTags} ` ); } },