diff options
| author | ilotterytea <iltsu@alright.party> | 2025-07-26 18:36:32 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-07-26 18:36:32 +0500 |
| commit | b211942143b5ef590a99dcbf9196bf2a659b7791 (patch) | |
| tree | f6420b7cb5eede7085403ff076d581e901d9cb48 /public/index.php | |
| parent | 314a09f450988a3a07139c7f63c722e94cd2fe94 (diff) | |
upd: loop video
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 2 |
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/')): ?> |
