diff options
author | Jonas Kohl | 2024-09-07 11:51:48 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-07 11:51:48 +0200 |
commit | 3c17d8cefadee1d853ac1c604c6510b100e8f0e1 (patch) | |
tree | f18c6c2610f3529beacd1b47c6672c82b2be4794 /includes/mobile/components/video.php | |
parent | c3afd3aead53c8133fae2cd9bc62179f5873f769 (diff) |
Add video player component for mobile site
Diffstat (limited to 'includes/mobile/components/video.php')
-rw-r--r-- | includes/mobile/components/video.php | 3 |
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 } ?> |