forked from rDrama/rDrama
use iframe in orgy (cuz i try to autoplay anyway)
parent
f97f1f160c
commit
e952ae6695
|
@ -17,6 +17,6 @@
|
|||
background-color: #3d3d3d !important;
|
||||
}
|
||||
|
||||
lite-youtube {
|
||||
lite-youtube, iframe {
|
||||
color-scheme: light !important;
|
||||
}
|
||||
|
|
|
@ -105,6 +105,6 @@ pre {
|
|||
background: rgba(var(--primary_rgb), 0.2) !important;
|
||||
}
|
||||
|
||||
lite-youtube {
|
||||
lite-youtube, iframe {
|
||||
color-scheme: light !important;
|
||||
}
|
||||
|
|
|
@ -158,6 +158,6 @@ color: var(--gray-700);
|
|||
background: #ffffff22 !important;
|
||||
}
|
||||
|
||||
lite-youtube {
|
||||
lite-youtube, iframe {
|
||||
color-scheme: light !important;
|
||||
}
|
||||
|
|
|
@ -73,6 +73,6 @@ body, .navbar-light, .navbar-dark, .card, .modal-content, .comment-write textare
|
|||
background: #ffffff22 !important;
|
||||
}
|
||||
|
||||
lite-youtube {
|
||||
lite-youtube, iframe {
|
||||
color-scheme: light !important;
|
||||
}
|
||||
|
|
|
@ -235,6 +235,6 @@
|
|||
color: #b0b0b0 !important;
|
||||
}
|
||||
|
||||
lite-youtube {
|
||||
lite-youtube, iframe {
|
||||
color-scheme: light !important;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<div>
|
||||
<p id="orgy-file-container" class="resizable">
|
||||
{% if orgy.type == 'youtube' %}
|
||||
<lite-youtube videoid="{{orgy.data}}" params="autoplay=1&modestbranding=1"/>
|
||||
<iframe style="border: none" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox" title="Play" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen src="https://www.youtube-nocookie.com/embed/{{orgy.data}}?autoplay=1&modestbranding=1&autoplay=1"></iframe>
|
||||
{% elif orgy.type == 'rumble' %}
|
||||
<iframe src="{{orgy.data}}" frameborder="0" allowfullscreen></iframe>
|
||||
{% elif orgy.type == 'twitch' %}
|
||||
|
|
Loading…
Reference in New Issue