summaryrefslogtreecommitdiff
path: root/includes/mobile
diff options
context:
space:
mode:
authorJonas Kohl <git@jonaskohl.de>2024-09-07 11:51:48 +0200
committerJonas Kohl <git@jonaskohl.de>2024-09-07 11:51:48 +0200
commit3c17d8cefadee1d853ac1c604c6510b100e8f0e1 (patch)
treef18c6c2610f3529beacd1b47c6672c82b2be4794 /includes/mobile
parentc3afd3aead53c8133fae2cd9bc62179f5873f769 (diff)
Add video player component for mobile site
Diffstat (limited to 'includes/mobile')
-rw-r--r--includes/mobile/components/video.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/mobile/components/video.php b/includes/mobile/components/video.php
new file mode 100644
index 0000000..01cd0b4
--- /dev/null
+++ b/includes/mobile/components/video.php
@@ -0,0 +1,3 @@
+<?php function c_video(string $id): void { ?>
+<iframe allowfullscreen src="/video.php?v=<?= htmlentities(urlencode($id)) ?>" style="border:none;width:342px;height:291px"></iframe>
+<?php } ?>