video format

This commit is contained in:
Lanta 2025-06-17 19:11:09 +02:00
parent 7ef1ade9e0
commit af8c9ff61a
3 changed files with 16 additions and 1 deletions

View file

@ -282,3 +282,11 @@ td, th {
height: auto; height: auto;
max-height: none; max-height: none;
} }
.video-title {
text-align: center;
font-size: 1.2em;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}

View file

@ -119,3 +119,10 @@ section h2 {
margin-top: 0.5rem; margin-top: 0.5rem;
gap: 0.5rem; gap: 0.5rem;
} }
.video-title {
text-align: center;
font-size: 1.1em;
font-weight: bold;
margin-top: 8px;
margin-bottom: 8px;
}

View file

@ -41,7 +41,7 @@ usort($videoData, function($a, $b) {
<source src="media/videos/<?php echo htmlspecialchars($video['filename']); ?>" type="video/mp4"> <source src="media/videos/<?php echo htmlspecialchars($video['filename']); ?>" type="video/mp4">
Your browser does not support the video tag. Your browser does not support the video tag.
</video> </video>
<p><?php echo pathinfo($video['filename'], PATHINFO_FILENAME); ?></p> <p class="video-title"><?php echo pathinfo($video['filename'], PATHINFO_FILENAME); ?></p>
<div class="video-controls"> <div class="video-controls">
<button class="btn share-btn">Delen</button> <button class="btn share-btn">Delen</button>
<button class="btn theatre-btn">Theatermodus</button> <button class="btn theatre-btn">Theatermodus</button>