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 %}
{% 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>