Make 0p appear as 'Audio Only'

This commit is contained in:
metalune 2021-05-08 14:33:35 +02:00
parent a71691854e
commit b18469722f
1 changed files with 5 additions and 1 deletions

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>