1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 20:42:40 +00:00

Ensure that video/gif embeds in tweets are also cached locally

This commit is contained in:
Jocelyn Badgley (Twipped)
2021-08-27 11:32:44 -07:00
parent 68cd84ccad
commit 5992501a01
3 changed files with 20 additions and 2 deletions

View File

@@ -52,7 +52,7 @@
</video>
{{/is}}
{{#is type 'animated_gif'}}
<video controls muted loop poster="{{media_url_https}}" class="tweet-video">
<video controls autoplay muted loop poster="{{media_url_https}}" class="tweet-video">
{{#each video_info.variants}}
<source src="{{url}}" type="{{content_type}}">
{{/each}}