Support more media attachment types in comments

Types taken from
https://github.com/dpecos/mastodon-comments/blob/master/mastodon-comments.js
This commit is contained in:
daudix
2024-07-21 22:46:11 +03:00
parent 3625196398
commit bbbf1d1967
2 changed files with 28 additions and 2 deletions

View File

@ -6,5 +6,5 @@
{% if pixels %}pixels{% endif %}
{% if transparent %}transparent{% endif %}
"
{%- if alt -%}alt="{{ alt }}"{%- endif -%}
{%- if alt -%}aria-title="{{ alt }}"{%- endif -%}
controls src="{{ url }}"></video>