diff options
Diffstat (limited to 'templates/shortcodes/shikwasa.html')
-rw-r--r-- | templates/shortcodes/shikwasa.html | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/templates/shortcodes/shikwasa.html b/templates/shortcodes/shikwasa.html index d29238d..10ac1d7 100644 --- a/templates/shortcodes/shikwasa.html +++ b/templates/shortcodes/shikwasa.html @@ -1,16 +1,18 @@ <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> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/style.css"/> + <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/shikwasa.min.js"></script> + <script> + const player = new Shikwasa.Player({ + container: () => document.querySelector(".podcast"), + audio: { + title: "{{subtitle}}", + artist: "{{author}}", + cover: "{{image}}", + src: "{{media}}", + }, + fixed: { + type: "static", + }, + }); + </script> </div> |