summaryrefslogtreecommitdiff
path: root/includes/mobile/components/video.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/mobile/components/video.php')
-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 } ?>