summaryrefslogtreecommitdiff
path: root/includes/desktop/components/video.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/desktop/components/video.php')
-rw-r--r--includes/desktop/components/video.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/desktop/components/video.php b/includes/desktop/components/video.php
new file mode 100644
index 0000000..3734fe5
--- /dev/null
+++ b/includes/desktop/components/video.php
@@ -0,0 +1,3 @@
+<?php function c_video(string $id): void { ?>
+<iframe src="/video.php?v=<?= htmlentities(urlencode($id)) ?>" frameBorder="0" border="0" width="342" height="291"></iframe>
+<?php } ?>