mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Proxy media instead of using file cache
This commit is contained in:
parent
1dcb191903
commit
68a5ac20b6
7 changed files with 80 additions and 61 deletions
|
|
@ -36,7 +36,7 @@
|
|||
<img src="https://${hostname}${getPicUrl(get(tweet.video).thumb)}" style="max-width:250px;" />
|
||||
#elif tweet.gif.isSome:
|
||||
#let thumb = &"https://{hostname}{getPicUrl(get(tweet.gif).thumb)}"
|
||||
#let url = &"https://{hostname}{getGifUrl(get(tweet.gif).url)}"
|
||||
#let url = &"https://{hostname}{getPicUrl(get(tweet.gif).url)}"
|
||||
<video poster="${thumb}" autoplay muted loop style="max-width:250px;">
|
||||
<source src="${url}" type="video/mp4"</source></video>
|
||||
#end if
|
||||
|
|
|
|||
Loading…
Reference in a new issue