diff options
author | Jonas Kohl | 2024-09-07 11:49:03 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-07 11:49:03 +0200 |
commit | c3afd3aead53c8133fae2cd9bc62179f5873f769 (patch) | |
tree | 20a3957ec457f9c84fbdbd20a3eef5bd04cec614 /includes/desktop/components/video.php | |
parent | bc7c47abab428f503515dd371dc4d81719632bb1 (diff) |
Add video player
Diffstat (limited to 'includes/desktop/components/video.php')
-rw-r--r-- | includes/desktop/components/video.php | 3 |
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 } ?> |