Make video take at most all of the screen

This commit is contained in:
metalune 2021-07-18 00:59:20 +02:00
parent 4c1572f5fa
commit a29f3e9ba9

View file

@ -14,14 +14,14 @@ By:
<br> <br>
{% if video.no_quality_selected and not embed %} {% if video.no_quality_selected and not embed %}
<img height="300" src="https://{{ video.channel.host }}{{ video.thumbnailPath }}"> <img height="300" style="max-width: 100%" src="https://{{ video.channel.host }}{{ video.thumbnailPath }}">
<p style="color: red">Please select a resolution:</p> <p style="color: red">Please select a resolution:</p>
{% elif embed %} {% elif embed %}
<iframe src="https://{{ video.channel.host }}{{ video.embedPath }}" height="300" allowfullscreen="" frameborder="0"></iframe> <iframe src="https://{{ video.channel.host }}{{ video.embedPath }}" height="300" allowfullscreen="" frameborder="0"></iframe>
<br> <br>
<b>Resolutions:</b> <b>Resolutions:</b>
{% else %} {% else %}
<video height="300" controls> <video height="300" style="max-width: 100%" controls>
<source src="{{ video.video }}"> <source src="{{ video.video }}">
</video> </video>
<br> <br>