Initial commit

This commit is contained in:
thorsten
2025-06-07 06:39:19 +02:00
commit cd13e758db
14 changed files with 582 additions and 0 deletions
@@ -0,0 +1,3 @@
<div class="notices red">
<p>{{ errorMessage }}</p>
</div>
@@ -0,0 +1,22 @@
{# html #}
<div id="{{ id }}" class='video'>
<iframe
class='video__iframe'
width='{{ videoWidth }}'
height='{{ videoHeight }}'
data-src="https://www.youtube-nocookie.com/embed/{{ videoId }}{{ parameterString }}"
frameborder='0'
allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture'
allowfullscreen='allowfullscreen'></iframe>
<div class='video__notice' style="width: {{ videoWidth }}px; height: {{ videoHeight }}px; background-image: url('https://i.ytimg.com/vi/{{ videoId }}/hqdefault.jpg');">
<div style='color:{{ noticeForeground }}; background-color:{{ noticeBackground }};'>
<form>
<p>{{ notice | raw }}</p>
<a class="{{ acceptLinkClass }}" onclick="return onConsent({{ id }})">{{ accept | raw }}</a>
<a class="{{ acceptLinkClass }}" onclick="return onConsent()">{{ acceptAll | raw }}</a>
</form>
</div>
</div>
</div>