Skip to content
Snippets Groups Projects
Commit d21972c2 authored by Lukas Ruge's avatar Lukas Ruge
Browse files

video include fehler

parent 7d177b1a
No related branches found
No related tags found
No related merge requests found
Pipeline #17486 passed
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
{% for vid in relevent_media -%} {% for vid in relevent_media -%}
{% if vid.uid == {{include.uid}} -%} {% if vid.uid == {{include.uid}} -%}
{%- assign realslug = vid.url | split:'/' | last -%} {%- assign realslug = vid.url | split:'/' | last -%}
<img class="vimage1" src="https://video.chaotikum.net/thumbnails/2023-11-04-nook-by-numbers.jpg"> <img class="vimage1" src="https://video.chaotikum.net/thumbnails/{{realslug}}.jpg">
<img class="vimage2" src="/assets/video_overlay.png"> <img class="vimage2" src="/assets/video_overlay.png">
<a href="{{ site.baseurl }}{{ vid.url }}"><img class="vimage3" src="/assets/video_overlay2.png"></a> <a href="{{ site.baseurl }}{{ vid.url }}"><img class="vimage3" src="/assets/video_overlay2.png"></a>
<div class="includemediatext includemediatext_1"> <div class="includemediatext includemediatext_1">
<h3><a href="{{ site.baseurl }}{{ vid.url }}">{{vid.title}}</a></h3> <h3 style="position: relative; max-width: 80%; min-width: 80%;"><a href="{{ site.baseurl }}{{ vid.url }}">{{vid.title}}</a></h3>
</div> </div>
{% endif -%} {% endif -%}
{% endfor -%} {% endfor -%}
......
...@@ -128,6 +128,7 @@ figcaption { ...@@ -128,6 +128,7 @@ figcaption {
.image_wrapper { .image_wrapper {
position: relative; position: relative;
justify-content: center;
width: 100%; width: 100%;
} }
...@@ -144,6 +145,8 @@ figcaption { ...@@ -144,6 +145,8 @@ figcaption {
.vimage1 { .vimage1 {
top: 0; top: 0;
left: 0; left: 0;
max-width: 80%; /* 1 */
min-width: 80%; /* 1 */
position: relative; position: relative;
border-radius: 10px; border-radius: 10px;
} }
...@@ -151,6 +154,8 @@ figcaption { ...@@ -151,6 +154,8 @@ figcaption {
.vimage2 { .vimage2 {
top: 0; top: 0;
left: 0; left: 0;
max-width: 80%; /* 1 */
min-width: 80%; /* 1 */
position: absolute; position: absolute;
border-radius: 10px; border-radius: 10px;
opacity: 0.7; opacity: 0.7;
...@@ -159,6 +164,8 @@ figcaption { ...@@ -159,6 +164,8 @@ figcaption {
.vimage3 { .vimage3 {
top: 0; top: 0;
left: 0; left: 0;
max-width: 80%; /* 1 */
min-width: 80%; /* 1 */
position: absolute; position: absolute;
border-radius: 10px; border-radius: 10px;
opacity: 0.2; opacity: 0.2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment