Make video take at most all of the screen
This commit is contained in:
parent
4c1572f5fa
commit
a29f3e9ba9
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue