Make 0p appear as 'Audio Only'
This commit is contained in:
parent
a71691854e
commit
b18469722f
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,11 @@ By:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for resolution in video.resolutions %}
|
{% 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 %}
|
{% endfor %}
|
||||||
<a href="?embed=1">Embedded</a>
|
<a href="?embed=1">Embedded</a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue