diff options
Diffstat (limited to 'templates/shortcodes/shikwasa.html')
-rw-r--r-- | templates/shortcodes/shikwasa.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/shortcodes/shikwasa.html b/templates/shortcodes/shikwasa.html index 10ac1d7..93c4601 100644 --- a/templates/shortcodes/shikwasa.html +++ b/templates/shortcodes/shikwasa.html @@ -1,14 +1,17 @@ +<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> <div class="podcast"> - <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}}", + cover: "{{image | safe}}", + src: "{{media | safe}}", }, fixed: { type: "static", |