fix youtube orgies

pull/195/head
Aevann 2023-08-23 22:47:39 +03:00
parent 06c5bb3c6e
commit 7f591804bd
2 changed files with 10 additions and 2 deletions

View File

@ -22,7 +22,7 @@
width: 500px;
}
#orgy-file-container, lite-youtube {
#orgy-file-container {
width: 70vw;
max-width: 100vw !important;
}
@ -67,3 +67,9 @@ body > .container {
*:not(#orgy-file-container) {
resize: none !important;
}
#orgy-file-container > lite-youtube {
height: 90% !important;
width: 95% !important;
max-width: 95% !important;
}

View File

@ -13,7 +13,9 @@
<h2 id="orgy-title">{{orgy.title}}</h1>
<div>
{% if orgy.type == 'youtube' %}
<lite-youtube videoid="{{orgy.data}}" params="autoplay=1&modestbranding=1"/>
<p id="orgy-file-container" class="resizable">
<lite-youtube videoid="{{orgy.data}}" params="autoplay=1&modestbranding=1"/>
</p>
{% elif orgy.type == 'rumble' %}
<iframe class="rumble rumble-player" width="100%" src="{{orgy.data}}" frameborder="0" allowfullscreen></iframe>
{% elif orgy.type == 'twitch' %}