1
0
mirror of https://git.sr.ht/~metalune/simpleweb_peertube synced 2024-12-22 03:33:57 +01:00

Make 0p appear as 'Audio Only'

This commit is contained in:
metalune 2021-05-08 14:33:35 +02:00
parent a71691854e
commit b18469722f

View File

@ -29,7 +29,11 @@ By:
{% endif %}
{% for resolution in video.resolutions %}
<a href="?quality={{ resolution.id }}">{{ resolution.label }}</a>
{% if resolution.label == "0p" %}
<a href="?quality={{ resolution.id }}">Audio Only</a>
{% else %}
<a href="?quality={{ resolution.id }}">{{ resolution.label }}</a>
{% endif %}
{% endfor %}
<a href="?embed=1">Embedded</a>