summaryrefslogtreecommitdiff
path: root/templates/shortcodes/shikwasa.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/shikwasa.html')
-rw-r--r--templates/shortcodes/shikwasa.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/shortcodes/shikwasa.html b/templates/shortcodes/shikwasa.html
new file mode 100644
index 0000000..d29238d
--- /dev/null
+++ b/templates/shortcodes/shikwasa.html
@@ -0,0 +1,16 @@
+<div class="podcast">
+ <script>
+ const player = new Shikwasa({
+ container: () => document.querySelector('.podcast'),
+ audio: {
+ title: '{{subtitle}}',
+ artist: '{{author}}',
+ cover: '{{image}}',
+ src: '{{media}}',
+ },
+ fixed: {
+ type: 'static',
+ },
+ });
+ </script>
+</div>