mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Fixed ext video embeds not setting author
This commit is contained in:
parent
c5b3963039
commit
4891e10ad3
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ export const handleStatus = async (
|
||||||
/* External media renderer (i.e. YouTube) */
|
/* External media renderer (i.e. YouTube) */
|
||||||
if (tweet.media?.external) {
|
if (tweet.media?.external) {
|
||||||
const { external } = tweet.media;
|
const { external } = tweet.media;
|
||||||
|
authorText = newText || '';
|
||||||
headers.push(
|
headers.push(
|
||||||
`<meta name="twitter:player" content="${external.url}">`,
|
`<meta name="twitter:player" content="${external.url}">`,
|
||||||
`<meta name="twitter:player:width" content="${external.width}">`,
|
`<meta name="twitter:player:width" content="${external.width}">`,
|
||||||
|
|
Loading…
Add table
Reference in a new issue