summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-26 18:36:32 +0500
committerilotterytea <iltsu@alright.party>2025-07-26 18:36:32 +0500
commitb211942143b5ef590a99dcbf9196bf2a659b7791 (patch)
treef6420b7cb5eede7085403ff076d581e901d9cb48
parent314a09f450988a3a07139c7f63c722e94cd2fe94 (diff)
upd: loop video
-rw-r--r--public/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php
index 3a750b5..ddbd21a 100644
--- a/public/index.php
+++ b/public/index.php
@@ -239,7 +239,7 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt');
<?php if (str_starts_with($file['mime'], 'image/')): ?>
<img src="<?= $file['full_url'] ?>" alt="Image file.">
<?php elseif (str_starts_with($file['mime'], 'video/')): ?>
- <video controls autoplay>
+ <video controls autoplay loop>
<source src="<?= $file['full_url'] ?>" type="<?= $file['mime'] ?>">
</video>
<?php elseif (str_starts_with($file['mime'], 'audio/')): ?>