commit 3c2f61feafd4554ba1cacf55fd9712c33a3f709c
parent 3d4d09bda77040c6291c6a8d0d58e71cc15239a3
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sat, 5 Apr 2025 15:03:03 +0200
feat: move up video information
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/index.php b/index.php
@@ -293,7 +293,13 @@
<section id="video_<?php echo $index; ?>">
<!-- Headline: streamer name -->
- <h2><?php echo $video["title"]; ?></h2>
+ <h3 style="margin-bottom:5px;"><?php echo $video["title"]; ?></h3>
+
+ <!-- Video Information -->
+ <div style="width:100%;margin-bottom:1em;color:var(--border);">
+ <span style="margin-right:0.25em;"><?php echo $video["author"]; ?></span>
+ <span style="margin-left:0.25em;"><?php echo date("Y-m-d, H:i:s", $video["time"]); ?></span>
+ </div>
<!-- player Container -->
<div class="player_container hidden"></div>
@@ -306,12 +312,6 @@
loading="lazy"
>
- <!-- Video Information -->
- <div style="width:100%;margin-bottom:0.5em;">
- <span style="margin-right:0.25em;"><?php echo $video["author"]; ?></span>
- <span style="margin-left:0.25em;"><?php echo date("Y-m-d, H:i:s", $video["time"]); ?></span>
- </div>
-
<!-- Video Buttons -->
<?php $js_args = $index . ",'" . $video["vid"] . "'"; ?>
<button onclick="yt2html_toggle_player(<?php echo $js_args; ?>)">