mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Improve video embed overlay and proxy behavior
This commit is contained in:
parent
b76e3c3913
commit
5fa4eefb9d
5 changed files with 82 additions and 32 deletions
|
|
@ -14,7 +14,7 @@ proc renderVideoEmbed*(tweet: Tweet; cfg: Config; req: Request): string =
|
|||
video = tweet.getVideos()[0]
|
||||
thumb = video.thumb
|
||||
vidUrl = getVideoEmbed(cfg, tweet.id)
|
||||
prefs = Prefs(hlsPlayback: true, mp4Playback: true)
|
||||
prefs = Prefs(hlsPlayback: true, mp4Playback: true, proxyVideos: true)
|
||||
tweetUrl = getLink(tweet)
|
||||
|
||||
let node = buildHtml(html(lang="en")):
|
||||
|
|
|
|||
Loading…
Reference in a new issue