Link mp4 instead of embed for gif tweet previews
This commit is contained in:
parent
779187529c
commit
73afb1d6a4
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ proc createStatusRouter*(cfg: Config) =
|
|||
`type`="video", video=vidUrl)
|
||||
elif conversation.tweet.gif.isSome():
|
||||
let thumb = get(conversation.tweet.gif).thumb
|
||||
let vidUrl = getVideoEmbed(conversation.tweet.id)
|
||||
let vidUrl = getGifUrl(get(conversation.tweet.gif).url)
|
||||
resp renderMain(html, request, cfg, title, desc, images = @[thumb],
|
||||
`type`="video", video=vidUrl)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue