diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-08-04 23:19:21 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-08-04 23:19:21 +0200 |
commit | 2bc6b97401791ae4ced15b7e8f903efd6e76e09f (patch) | |
tree | 3b793ac21e3c5e284288f25d2d1ec5e3abb6f735 /application/views/file/fragments/audio-player.php | |
parent | 2345c4c840a4571b9cbb0a021b4c49f9381875ce (diff) |
Add audio and video players to multipastes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file/fragments/audio-player.php')
-rw-r--r-- | application/views/file/fragments/audio-player.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/application/views/file/fragments/audio-player.php b/application/views/file/fragments/audio-player.php new file mode 100644 index 000000000..517506039 --- /dev/null +++ b/application/views/file/fragments/audio-player.php @@ -0,0 +1,8 @@ +<div class="container-wide"> +<p> + <audio controls="controls"> + <source src="<?php echo site_url($filedata["id"]); ?>"> + </audio> + <?php echo anchor(site_url($filedata['id']), htmlspecialchars($filedata["filename"])); ?> +</p> +</div> |